Notes
- Code in C++
- Compiled using GCC and make
- Target OS is Windows
Download
Usage
fractal.exe [-v #] [-t #] [-p #] [-o #] [-f] [-r] filename
| Option |
Values |
Default |
Description |
| -v |
0-4 |
0 |
Verbous level. This forces the algorithm to spit out comments as it performs its functions. |
| -t |
positive integer |
100 |
Threshold is inversily proportional to image quality. It tells the encoder whether to recurse more or stop. |
| -p |
positive integer |
5 |
Number of decoding phases. Tell the program how many times to apply the IFS to base image during decoding. |
| -o |
1-3 |
1 |
Determine the type of output. 1: Output the final image, 2: output at each phase, 3: output at each phase and channel. |
| -f |
none |
off |
Force symmetry operations during encoding. |
| -r |
none |
off |
Enable encoding of RGB instead of YCbCr. |
| filename |
path |
none |
Path to the image saved in RAW format*. |
|
* RAW is a very basic format that stores the raw value for each channel. For example, RGB image would be stored as R_0, G_0, B_0, R_1, G_1, B_1, ..., R_n, G_n, B_n where n is equals to width times height. This format can be easily viewed using Adobe Photoshop.