LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)
LEAD Technologies, Inc

GetRegistrationMarksCenterMass Method






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. .NET support WinRT support
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
)
 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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-2012 All Rights Reserved. LEAD Technologies, Inc.