Scientific Visualization and Computer Graphics

Scientific Visualization and Computer Graphics > BI > FSE > RUG * Print * Search

Group-Invariant Frames for Colour Morphology

This page is related to the following publication:

van de Gronde, Jasper J. and Roerdink, Jos B. T. M. (2013) Group-Invariant Frames for Colour Morphology. In Mathematical Morphology and Its Applications to Signal and Image Processing. (Luengo Hendriks, Cris L., Borgefors, Gunilla and Strand, Robin, Eds.) Springer Berlin Heidelberg, pages 267-278. Attach:pdf.gif Δ Δ (URL) (BibTeX)

The code can be tried out interactively in the browser, simply by pressing the button below (this will overlay the demo, which can be dismissed by clicking "Close" in the top-right corner):

Try me!
Tip: It is possible to first select all options you are interested in (in sequence) and then wait for all images to be generated. As long as you do not change the source image all results will be cached.

Note that the code is written in Javascript and makes extensive use of HTML5 features. It is thus advisable to use a recent browser (I test primarily with Firefox and Chrome). Also, some patience might be required, especially for the larger frames.

The source code can be downloaded here (covered by the MIT license). This also includes a command-line interface based on Node.js. This makes it even easier to generate many outputs in one go (a Makefile is included to regenerate the examples from figures 6 and 7 of the paper, up to gamma correction).

Some notes to avoid confusion:

  • The paper gives structuring element sizes in terms of the number of pixels in the structuring element, while this code uses the length (in pixels) between pixel centres (this is one less, for example: the distance between the first and last pixel centre of 3-pixel line is two).
  • The current implementation defaults to using gamma correction (the paper only uses gamma correction in figure 8).