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

Image Scaler

Defect Generator Grooper.IP

Randomizes small variances in image scaling to simulate photocopying or faxing artifacts.

Remarks

The ImageScaler class randomly enlarges or shrinks the image within the specified scale factor range, simulating the effects of photocopying, faxing, or other processes that alter image size. This helps test the resilience of recognition and cleanup steps to scale changes.

  • The scale factor is chosen randomly between 'Minimum Scale Factor' and 'Maximum Scale Factor'.
  • The image is centered on a blank background if it is shrunk.

Example:
To allow up to 5% scaling variance, set 'Minimum Scale Factor' to 0.95 and 'Maximum Scale Factor' to 1.05.

Properties

NameTypeDescription

Used By

Notification