LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)

GetRegistrationMarksCenterMass Method

Show in webframe







RasterImage object that references the transformed image.
Array of Leadtools.LeadPoint structures containing mark locations.
Finds the center of mass for each of the registration marks specified by markPoints. This method is available in the Document/Medical Toolkits.
Syntax
public static LeadPoint[] GetRegistrationMarksCenterMass( 
   RasterImage image,
   LeadPoint[] markPoints
)
'Declaration
 
Public Shared Function GetRegistrationMarksCenterMass( _
   ByVal image As RasterImage, _
   ByVal markPoints() As LeadPoint _
) As LeadPoint()
'Usage
 
Dim image As RasterImage
Dim markPoints() As LeadPoint
Dim value() As LeadPoint
 
value = CoreUtilities.GetRegistrationMarksCenterMass(image, markPoints)
public static LeadPoint[] GetRegistrationMarksCenterMass( 
   RasterImage image,
   LeadPoint[] markPoints
)
+ (NSArray*)getRegistrationMarksCenterMass:(LTRasterImage*)image 
                                markPoints:(NSArray*)markPoints 
                                     error:(NSError**)outError;
            
public static LeadPoint[] getRegistrationMarksCenterMass(
   RasterImage image, 
   LeadPoint[] markPoints
)
            
 function Leadtools.ImageProcessing.Core.CoreUtilities.GetRegistrationMarksCenterMass( 
   image ,
   markPoints 
)
public:
static array<LeadPoint>^ GetRegistrationMarksCenterMass( 
   RasterImage^ image,
   array<LeadPoint>^ markPoints
) 

Parameters

image
RasterImage object that references the transformed image.
markPoints
Array of Leadtools.LeadPoint structures containing mark locations.

Return Value

Array of Leadtools.LeadPoint structures to be filled with points which represent the center of mass for each of the supplied registration marks. The first center of mass point corresponds to the first registration mark in the markPoints array and so on_
Remarks
For more information, refer to Detecting Registration Marks.
Example
Refer to GetTransformationParameters for sample code.
Requirements

Target Platforms

See Also

Reference

CoreUtilities Class
CoreUtilities Members
Detecting Registration Marks
Leadtools.ImageProcessing.Effects.CombineCommand
Leadtools.ImageProcessing.RotateCommand
Leadtools.ImageProcessing.SizeCommand
Leadtools.ImageProcessing.ResizeCommand
DeskewCommand Class
SearchRegistrationMarksCommand Class
GetTransformationParameters Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.