Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SearchRegistrationMarksCommand Class
See Also  Members  
Leadtools.ImageProcessing.Core Namespace : SearchRegistrationMarksCommand Class



Searches the image for the registration marks according to the information in SearchMarks. This command is available in the Document/Medical Toolkits.

Object Model


Syntax

Visual Basic (Declaration) 
Public Class SearchRegistrationMarksCommand 
   Inherits RasterCommand
   Implements IRasterCommand 
Visual Basic (Usage)Copy Code
Dim instance As SearchRegistrationMarksCommand
C# 
public class SearchRegistrationMarksCommand : RasterCommand, IRasterCommand  
C++/CLI 
public ref class SearchRegistrationMarksCommand : public RasterCommand, IRasterCommand  

Example

Remarks

  • This command searches the image for registration marks. The SearchMarks array contains the information about the registration marks. Declare the array and fill in the information about the registration marks for which to search before calling the command.
  • The command will update each member of the SearchMarks array with information about the detected registration marks:

    • The MarkDetectedCount property will be updated with number of detected marks in that area.
    • The MarkDetectedPoints property (and the markDetectedPoints parameter if you are using the appropriate SearchRegistrationMarksCommand Constructor, will be updated with the position of the detected marks.
  • You can call CoreUtilities.GetTransformationParameters to get the transformation parameters, which can be applied to this image to make it match the reference image.
  • If you simply want to automatically straighten the image, use the DeskewCommand.
  • This commend supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits.
  • This command does not support signed data images.
  • This command does not support 32-bit grayscale images.
For more information, refer to Detecting Registration Marks.

Inheritance Hierarchy

System.Object
   Leadtools.ImageProcessing.RasterCommand
      Leadtools.ImageProcessing.Core.SearchRegistrationMarksCommand

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also