[Insight-users] GetPixel problem
David Doria
daviddoria at gmail.com
Mon Feb 14 18:23:13 EST 2011
On Mon, Feb 14, 2011 at 6:11 PM, Dawood Masslawi <masslawi at gmail.com>wrote:
> Hi Roberto,
>
> Try using the image iterators, there are code samples included in the
> examples directory
>
> of the ITK. Also, make sure your PixelType is compatible with your images.
>
> Regards,
>
> Dawood
>
Roberto,
Can you show us an example of the wrong value vs the right value? Also, are
you sure you don't have the j and i backwards? That is, check the value of
pixel[i,j] and pixel[j,i] and see if either is the correct value you are
looking for.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110214/361f8ab7/attachment.htm>
More information about the Insight-users
mailing list