[ImageJ-devel] Serious Bug in 'Plot Profile' coordinates

Thiel, Bjoern bjoern.thiel at mpibpc.mpg.de
Thu Aug 29 02:11:03 CDT 2013


Analyzing an image of 3.9 x 3.9 microns (130 x 130 pixels) with a profile plot 
I get false coordinates indicating only integer distances (of e.g. 2.0 microns) 
while the plots seem to range over fractional distances (of e.g. 2.4 microns). 

The reason for it is the rounding in line 184 of ProfilePlot.java
   double length = Math.round(Math.sqrt(dx*dx + dy*dy));
that gives xInc the wrong value.

I'm afraid but this seems to be a serious bug.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Measurement1.tif
Type: image/tiff
Size: 71244 bytes
Desc: Measurement1.tif
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20130829/a69dcc00/attachment-0001.tif>


More information about the ImageJ-devel mailing list