Group-Invariant Frames for Colour Morphology
This page is related to the following publication:
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):
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).