Archana Chilukuri wrote:


Hi all,

I am working on developing an editing tool for medical images. These
medical images are in DICOM format. I load these images in
Java2D canvas. I can get the Image position and Image orientation in
mm from the diconm header. Is there a way to generate the transformation
matrix with Image postion(x,y,z) and Image orientation(row vector and
column vector). I need this transformation matrix to transform my 2D
point that
I get on a mouse click to patient coordinate space.

Thanks,
Archana Chilukuri


If you're doing 2D to 3D transforms, you'll either have to code your own matricies or use the javax.vecmath package that comes with Java3D. If all you need is a simple 2D to 2D transform, you can use the AffineTransform that comes in java.awt.geom. How does a mouse click translate into picking a point?

Mark McKay

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to