CARP(Compression through Adaptive Recursive Partitioning for Multi-dimensional Image Data), which is a command-line software program written in MATLAB/C++ and designed to compress multi-dimensional images.
Run CARP package on a toy image: stripe flag.
Step 1: Install Amadillo (http://arma.sourceforge.net/download.html) on your machine.
Usage: run toy_example.m
Input: stripe flag image
Adjustable parameter: sigma_hat
Output: compression ratio; reconstruction of image