Usage:
python3 pynvrebel.py --input <filename.png>
Optional arguments
--depth <value>
Selects the depth of abstraction. Defaults to 10.
--blob <value>
Selects the blob. Defaults to 0.
--layer <value>
Selects the layer of abstraction. Defaults to 0.
--output <output filename>
Changes the output filename. Defaults to "output.png".
For example,
python3 pynvrebel.py --input deep.png --blob 1 --depth 20 --layer 0
The expected input files are grayscale images of figures like letters.png
Using aaa.png or sss.png demonstrates how the program responds to similar figures of different scales.
Running the above program will
- Open an image showing the abstract pixels in the input image file as white pixels and saves the output to disk.
- Display the layers of abstract pixels in the blob for the given depth.
At layer zero the most abstract details in the figure is compared. As we move into deeper layers finer details are compared which gives distinctiveness to each figure. Each layer is marked by the biggest drop in perpendicular distance.