Scale Image

The Scale module will scale an image by a percent factor or to a specified size. You can use this module to reduce or enlarge an image within the processing pipeline. Reducing an image can help to speed up the processing frame rate by reducing the amount of data to be processed. However, this is best achieved by changing the image capture format size in the OPTIONS button in the main RoboRealm dialog. Doing so causes the camera driver to scale down the image and send less data. This causes the frame rate to go up significantly.



1. Pixel Size / Percentage - Select the final width and height size as a percent or actual pixel size that you want to scale the image to. This can be smaller or larger than 100% or the current image size.

2. Options - Select the scaling technique to be used.

Resample - A single pixel value is used to represent scale change. Fastest and sharpest result but worst representation since only 1 pixel is used.
Pixel resize - Multiple pixels values are used to represent scale change. Faster and sharper than Bilinear, more representative than Resample but can still cause jaggered edges on high contrast lines.
Bilinear - Uses linear interpolation to determine the actual resulting pixel values. This technique is slower but will create smoother more pleasing results.

3. Other - While editing either the pixel size or percent size the module will adjust the width and height to keep the same aspect ratio. To remove this restriction uncheck the "Maintain Aspect Ratio" checkbox.


OriginalScaled to 160x120

See Also
Resize Canvas

 New Post 

Scale Related Forum PostsLast postPostsViews
Scale to 30x30 but got 29x29
Hi, In my programm i tried to crop an image from 500x500pix to 30x30pix but what i got is 29x29pix....
5 years 8 1666
How does RoboRealm computes Perspective Transformation
Hi, RoboRealm has a module for perspective correction (http://www.roborealm.com/help/Perspective.ph...
7 years 6 3715
Scale Variable
I am having difficulty passing Scale as a variable to RoboRealm.  Any ideas? Robo file attached....
7 years 5 1445
Scale with large images
The scale module seems to have problems with large images.  See attached....
7 years 4 1707
Is it possible to zoom in the image using roborealm?...
8 years 3 1844
Bug in Scaling - Wrong aspect ratio
Hi, I have noticed a bug in the scaling. If I choose "maintain aspect ratio" and slide use the up...
8 years 2 1644