←Select platform

SearchRegistrationMarksCommand Class

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public class SearchRegistrationMarksCommand : RasterCommand 
public sealed class SearchRegistrationMarksCommand : Leadtools.Imageprocessing.Leadtools.ImageProcessing.IRasterCommand   
@interface LTSearchRegistrationMarksCommand : LTRasterCommand 
public class SearchRegistrationMarksCommand extends RasterCommand 
function Leadtools.ImageProcessing.Core.SearchRegistrationMarksCommand() 

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 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.

Example

Refer to GetTransformationParameters for sample code.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly