Release of G'MIC 2.0.4

Hello folks !

This is the changelog for the release of a new minor version (numbered 2.0.4) of the G’MIC image processing framework. This new stable version stays (mostly) compatible with the previous version 2.0.3.

What is G’MIC?

G’MIC (GREYC’s Magic for Image Computing) is a full-featured open-source framework for image processing. It provides several different user interfaces to convert/manipulate/filter/visualize generic image datasets, ranging from 1d scalar signals to 3d+t sequences of multi-spectral volumetric images, thus including 2d color images.

The following is the full Changelog of the version 2.0.4, as compared to the previous stable version 2.0.3.
Enjoy !

New features:

  • [gmic-qt] Language selector for the GUI has been added in the Settings menu.

gmic_lang

  • [core] New native command -eval which does nothing else than evaluating his argument as a math expression and return the result. Similar to eval : -u {"$*"}.

Improvements / Changes:

  • [core] Convolution/correlation and erode/dilate commands now return a result having max(nb_channels(image),nb_channels(kernel)) channels. This allows for instance to convolve a scalar image with a multi-channel kernel, and return a multi-channel image.

  • [core] Math parser gets a bunch of new functions:

    • l() returns the number of images in the associated image list (roughly the same as constant variable l except that its value is re-evaluated, useful when the number of images is changing during the evaluation of an expression, e.g. by using extern()).
    • vtos(expr,_nb_digits,_siz) returns a vector of size siz which contains the ascii representation of values described by expression expr (may be a vector, i.e. several values).
    • stov(str,_starting_indice,_is_strict) returns the value described by a string. It replaces the previous function stod() defined in previous versions.
    • cats(str1,str2,...strN,siz) returns a vector of specified size which contains the concatenation of all given string arguments.
    • echo(str1,str2,...,strN) prints the concatenation of given string arguments on the terminal.
    • ext(str1,str2n...,strN) allows to execute a G’MIC command inside the math parser, so you can operate on your images if necessary while evaluating a math expression. The command is seen as the concatenation of given string arguments.
    • argkth(k,arg1,arg2,...) returns the indice of the kth smallest argument.

Bug fixes:

  • Fixed bug when removing multiple fave filters in gmic-qt.
  • And as always, many minor bug fixes ! :stuck_out_tongue:
3 Likes
  • 2017/09/18 : Final release for 2.0.4 !
1 Like

Awesome. Will the filters be updated to use the math parser for speedier operation :wink:?

Maybe from time to time but probably not for all.
New filters added in the future have a better chance to benefit from that :slight_smile:

Hi. When I downloaded v.2.0.4 it turned out to be v.2.0.5_pre!