On 10/20/2010 02:51 PM, Keshav Chintamani wrote: > Hello, > > I am using the measurement toolkit to measure an image grabbed through a > frame grabber. I know the millimeter extents (in x,y) of the original > image and need to map the control points obtained from the Planar figure > to the image pixels in MITK to get an estimate of the distances. > > Is there any way to change the ScaleFactorMMperUnitX / > ScaleFactorMMperUnitY members? > > The default values are set to 1. This means that the measurement values > displayed in millimeters is the same as in pixels? >
Dear Keshav, the members you refer to are in Geometry classes. As PlanarFigure classes use geometry information to measure distances, this is the right place. Please see the SetSpacing(Vector3D) method of Geometry3D. This defines the extent of a single pixel in all three dimensions. Regards, Daniel -- Dr. Daniel Maleike Telefon: + 49 6221 42 2326 Mint Medical GmbH Im Neuenheimer Feld 582, 69120 Heidelberg Geschäftsführer: Dr. Matthias Baumhauer Registergericht Mannheim, HRB 709351 ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
