Re: Problem with ImageJ and Matlab image analysis

Posted by Abdulelah on
URL: http://imagej.273.s1.nabble.com/Problem-with-ImageJ-and-Matlab-image-analysis-tp5019978p5019985.html

Sorry for the delayed response

As Alex request, here a full details and example of points I did before:


I have a data set (CT scan images) of 430 slices. I import it to imageJ and also have it open in Matlab:

Examples:

Point 1

on ImageJ

x=180, y=424, z=243 (Slice # 244, as it shown in the top left corner on the window of the image)

on Matlab
Y(181, 425, 244), The reason I add 1 to all value because x, y, z starts from zero in imageJ but from 1 in Matlab as it should have a real positive value. Also, will explain what I also did be the end.

Pixel size= 1

Matlab ans= -214,        ImageJ Value= -416(584)     Difference= 202

---------------------------------------------------------------------------

Point 2

on ImageJ x=358, y=509, z=261     (Slice 262)


on Matlab Y(359, 510, 262)
 
Pixel size= 1


ans= -154,        ImageJ value= -127(873)     Difference= 30



---------------------------------------------------------------------------

Point 3

on ImageJ  x=390, y=360, z=261    (Slice 274)

on Matlab Y(391, 361, 274)
 
Pixel size= 1

Y ans= -398,        ImageJ value= -507(493)     Difference= 109

----------------------------------------------------------------------------

When I saw there was some difference in the grey values between the 2 softwares I tried in ImageJ to change the x or y or even the slice (all around the point I measured before and even one to two slices up and one to two slices down) just to get the same number (ans) I have in Matlab but unfortunately I didn't find any match.

Thank you.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html