Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Image Translator

Defect Generator Grooper.IP

Randomizes small variances in image alignment to simulate misfeeds or misalignment.

Remarks

The ImageTranslator class shifts the image horizontally and/or vertically by a random amount within the specified range, simulating the effect of a misfed or misaligned document. This is useful for testing the robustness of alignment correction and cropping routines.

  • The translation distance is chosen randomly within the specified range for each axis.
  • The image is shifted on a blank background, and content may be cropped if shifted out of bounds.

Example:
To allow up to 10pt translation in any direction, set both 'X Translation' and 'Y Translation' to -10pt to 10pt.

Properties

NameTypeDescription

See Also

Used By

Notification