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

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 4.0.4 (2026/08/19)

Reference
Table of Contents  ▸  List of Commands  ▸  Reptorian's Commands  ▸  rep_concat_imgs_vals_uniq◀  rep_pf_args    |    rep_uniq_args  ▶

rep_concat_imgs_vals_uniq

No arguments

Description:

Deduplicate images based on their pixel values using a hash table, then output images describing the unique serialized values.

 
Each image is internally serialized as a string of its values. Images
with identical value sequences are considered duplicates.
 
Outputs a string-table representation of the unique images:
image[0]: concatenation of serialized image value strings
image[1]: [offset,length] per entry (ch0=offset, ch1=length)
 
Warning! This should only be used for small images with different dimensions.
 
Also returns the length of the longest image.
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.