G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.4.3        Current pre-release: 3.5.0 (2024/12/18)

Reference

Table of Contents  ▸  List of Commands  ▸  Geometry Manipulation  ▸  rescale3d◀  rescale2d    |    resize  ▶

rescale3d

Arguments:

Description:

Resize selected 3D images while preserving aspect ratio.

interpolation can be { -1:status only | 0:none | 1:nearest | 2:average | 3:linear | 4=grid | 5=bicubic | 6=lanczos }.
When interpolation==-1, image size is actually not modified, but the size that would have been used for the last selected image is returned in the status value.
Each resized image size is computed according to the specified mode:
If mode==0, image size is at most (width,height).
If mode==1 or mode==3, image size is exactly (width,height).
If mode==2, image size is at least (width,height).

(equivalent to shortcut command rs3d).

Default values:

width=height=depth=0, interpolation=2 and mode=0.

G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

G'MIC is an open-source software distributed under the CeCILL free software licenses (LGPL-like and/or
GPL-compatible). Copyrights (C) Since July 2008, David Tschumperlé - GREYC UMR CNRS 6072, Image Team.