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.3.5        Current pre-release: 3.3.6 (2024/04/22)

Reference

Table of Contents  ▸  List of Commands  ▸  Filtering  ▸  rbf◀  periodize_poisson    |    red_eye  ▶

rbf

Arguments:

Description:

Reconstruct 1D/2D or 3D image from selected sets of keypoints, by RBF-interpolation.

A set of keypoints is represented by a vector-valued image, where each pixel represents a single keypoint.
Vector components of a keypoint have the following meaning:
For 1D reconstruction: [ x_k, f1(k),...fN(k) ].
For 2D reconstruction: [ x_k,y_k, f1(k),...,fN(k) ].
For 3D reconstruction: [ x_k,y_k,z_k, f1(k),...,fN(k) ].
Values x_k,y_k and z_k are the spatial coordinates of keypoint k.
Values f1(k),..,fN(k) are the N components of the vector value of keypoint k.
The command reconstructs an image with specified size dx'x'dy'x'dz, with N channels.

Default values:

x0=y0=z0=0, x1=dx-1, y1=dy-1, z1=dz-1, phi(r)=r^2*log(1e-5+r).

Examples of use:

• Example #1

sample colorful,400 100%,100% noise_poissondisk. 10 1,{is},1,5 eval[-2] "begin(p=0);i?(I[#-1,p++]=[x,y,I(#0)])" to_rgb[1] mul[0,1] dilate_circ[0] 5 +rbf[-1] {0,[w,h]} c[-1] 0,255

Command: sample colorful,400 100%,100% noise_poissondisk. 10 1,{is},1,5 eval[-2] "begin(p=0);i?(I[#-1,p++]=[x,y,I(#0)])" to_rgb[1] mul[0,1] dilate_circ[0] 5 +rbf[-1] {0,[w,h]} c[-1] 0,255
Command: sample colorful,400 100%,100% noise_poissondisk. 10 1,{is},1,5 eval[-2] "begin(p=0);i?(I[#-1,p++]=[x,y,I(#0)])" to_rgb[1] mul[0,1] dilate_circ[0] 5 +rbf[-1] {0,[w,h]} c[-1] 0,255
Command: sample colorful,400 100%,100% noise_poissondisk. 10 1,{is},1,5 eval[-2] "begin(p=0);i?(I[#-1,p++]=[x,y,I(#0)])" to_rgb[1] mul[0,1] dilate_circ[0] 5 +rbf[-1] {0,[w,h]} c[-1] 0,255

• Example #2

32,1,1,5,u([400,400,255,255,255]) rbf 400,400 c 0,255

Command: 32,1,1,5,u([400,400,255,255,255]) rbf 400,400 c 0,255
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.