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 (2024/10/11)

Reference

Table of Contents  ▸  List of Commands  ▸  Features Extraction  ▸  patches2img◀  mse_matrix    |    patches  ▶

patches2img

Arguments:

Description:

Recompose 2D images from their selected patch representations.

overlap must be in range [0,patch_size-1] where patch_size is the width/height of the selected image.
overlap_std is the standard deviation of the gaussian weights used for reconstructing overlapping patches.
If overlap_std is set to -1, uniform weights are used rather than gaussian.

Default values:

overlap=0 and overlap_std=-1.

See also:

img2patches.

Example of use:

image.jpg +img2patches 32,0,3 mirror[-1] xy patches2img[-1] {0,[w,h]}

Command: image.jpg +img2patches 32,0,3 mirror[-1] xy patches2img[-1] {0,[w,h]}
Command: image.jpg +img2patches 32,0,3 mirror[-1] xy patches2img[-1] {0,[w,h]}
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.