Open
Description
bioformats/components/formats-gpl/src/loci/formats/in/FV1000Reader.java
Lines 1348 to 1349 in 0a895ae
Since width and height are ints, the equation is done with Integer accuracy and not Double accuracy.
To get Double accuracy from the equations, a double cast is needed
Maybe
double rx = (double) width / 2;
double ry = shapeType == CIRCLE ? rx : (double) height / 2;
Metadata
Metadata
Assignees
Labels
No labels