PixelSpacing Property

Summary
Gets or sets the distance length in millimeters between two successive pixels in both the horizontal and the vertical directions.
Syntax
C#
C++
public Point2D PixelSpacing { get; set; } 
vb[VB Syntax] 
  
Public Property PixelSpacing As Point2D 
public: 
property Point2D PixelSpacing { 
   Point2D get(); 
   void set (    Point2D ); 
} 

Property Value

The distance between two successive pixels.

Remarks

The Pixel Spacing term in DICOM does not represent horizontal or vertical direction. It just represents row and column for a 2D image slice. Slice orientation can be any orientation in 3D space.

Example

For an example, refer to Medical3DContainer.Objects.

Requirements

Target Platforms

Help Version 22.0.2022.4.6
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical3D Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.