[IGSTK-Users] Transforming ImageSpatialObject then picking points

Nithiananthan, Sajendra Sajendra.Nithiananthan at rmp.uhn.on.ca
Thu May 31 10:37:31 EDT 2007


Hello,

There seems to be a problem with ImageSpatialObject::RequestSetransform() .
When it is called, the image will then be displayed properly at the new
coordinates, but calls to ImageSpatialObject::IsInside() use untransformed
coordinates.  It can then become impossible to pick points within the
transformed image using the mouse.  
I ran into this problem when reading a DICOM image which needed a
non-identity transformation to map back to origin.  I tried fixing the
problem by internally updating m_ImageSpatialObject inside
igstkImageSpatialObject.txx but no luck, for now I have worked around it by
modifying ImageSpatialObject so that it does not attempt to transform the
image back to the origin.  I believe an example of this problem can be seen
by loading the dataset "E000192Mod2" into the NeedleBiopsy example
application and trying to pick some points near the edge of image.  
If anyone wants I can provide a sample program that clearly demonstrates the
problem.

Thank you,

Sajendra N.

This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization.



More information about the IGSTK-Users mailing list