←Select platform

SearchRegistrationMarksCommand Class

Searches the image for the registration marks according to the information in SearchMarks. This command is available in the Document/Medical Toolkits.
public class SearchRegistrationMarksCommand : RasterCommand 
Public Class SearchRegistrationMarksCommand  
   Inherits RasterCommand 
@interface LTSearchRegistrationMarksCommand : LTRasterCommand 
public class SearchRegistrationMarksCommand extends RasterCommand 
public ref class SearchRegistrationMarksCommand : public RasterCommand   
  • 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 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.


Refer to GetTransformationParameters for sample code.


Target Platforms

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

Leadtools.ImageProcessing.Core Assembly