[MINC-users] Question about mincmath

Andrew Janke Andrew Janke <a.janke@gmail.com>
Wed Aug 3 17:17:03 2005


Hi Jessie, 

Where are you getting the numbers you are quoting?  Are they the voxel
or the real values?

Also, what datatype are the files?  I suspect byte.  Perhaps send the
results of mincinfo on both A.mnc and B.mnc then I may be able to give
a better answer.



Andrew


On 03/08/05, (Jessie) Ting Guo <tguo@imaging.robarts.ca> wrote:
> Hello,
> 
> I want to create a digital phantom, but have some problem with "mincmath".
> 
> I have two images and want to use mincmath to add them together. The
> background of the two images are 0. Image A contains a big ellipsoid with
> grey level of 110. Image B contains two small spheres with grey level of
> 145. When the two images overlap, the two small spheres are within the
> ellipsoid.
> 
> mincmath   -add   ImageA   ImageB   ResultImage
> 
> I expected that the resultant image would have background with grey level of
> 0, the ellipsoid with grey level of 110, the regions of spheres with grey
> level of 255 (110+145). However the actual result is not like what I
> expected. The spheres are with grey level of 255, several slices of the
> ellipsoid which contain the two spheres are with grey level of 110, and the
> rest slices of the ellipsoid have grey level of some value lower than 110.
> 
> Could anyone help me?
> 
> Thank you very much!
> Jessie
> 
> _______________________________________________
> MINC-users@bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> 


-- 
Andrew Janke      (a.janke@gmail.com || www.cmr.uq.edu.au/~rotor)
Canada->Montreal                                   Cell: +1 (514) 924 2012