FormFix v6.0 for .NET - Updated
RegistrationProcessor Class
Members 



Accusoft.FormFixSdk Namespace : RegistrationProcessor Class
An object that registers two images.
Syntax
'Declaration
 
Public Class RegistrationProcessor 
'Usage
 
Dim instance As RegistrationProcessor
public class RegistrationProcessor 
public ref class RegistrationProcessor 
Remarks

Instances of this class compare two images and return information you can use to align one to match the other. It does not identify the form and assumes that you are providing the correct model. If you do not know which model matches your image, you should use the IdentificationProcessor class instead of this one.

Unlike IdentificationProcessor.Identify, this class relies on the presence of specially-constructed registration marks in each corner of both images. Figure 1 below shows the approximate shape and location of the registration marks.

Figure 1 - Location of Registration Marks on a Form

Each of the four marks must be shaped like an "L", with the corner of the mark pointing toward the corner of the image. The straight parts of the mark must be parallel to the edges of the image. Each of the straight parts of the mark should be between 1/6 and 1/2 inch long and up to 1/12 inch thick. The marks must be less than two inches from the corner of each image.

Note: The registration algorithm use the resolution of the images (both the unknown image and the model), so you must set it to the correct value for best operation. Not every method of reading an image from a file will preserve the resolution and not all image editing tools will preserve the resolution. Registration will fail if the resolution of the image to register or the model is zero. If you see that error, you can look at the debug log (see FormFix.Debug) for more information about exactly which image failed.

This class has two separate methods which perform roughly the same operation. RegisterToModel accepts a FormImage and a FormModel. RegisterToImage accepts two FormImage objects.

Inheritance Hierarchy

System.Object
   Accusoft.FormFixSdk.RegistrationProcessor

See Also

Reference

RegistrationProcessor Members
Accusoft.FormFixSdk Namespace

Is this page helpful?
Yes No
Thanks for your feedback.