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/02)

Reference

Table of Contents  ▸  List of Commands  ▸  Features Extraction  ▸  img2patches◀  ifftpolar    |    isophotes  ▶

img2patches

Arguments:

Description:

Decompose selected 2D images into (possibly overlapping) patches and stack them along the z-axis.

overlap must be in range [0,patch_size-1].
boundary_conditions can be { 0:dirichlet | 1:neumann | 2:periodic | 3:mirror }.

Default values:

overlap=0 and boundary_conditions=0.

See also:

patches2img.

Example of use:

image.jpg img2patches 64

Command: image.jpg img2patches 64
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.