microshift_compression icon indicating copy to clipboard operation
microshift_compression copied to clipboard

Color input image support

Open ajboloor opened this issue 2 years ago • 2 comments

I wanted to know if the matlab code supports color image compression. From the code it looks like images are converted to grayscale before conversion.

ajboloor avatar Jun 05 '22 20:06 ajboloor

Hi, one way to apply the method to colorful images is to apply the algorithm to independent channels.

zhangmozhe avatar Jun 06 '22 03:06 zhangmozhe

Great! Thank you! If I wanted to use Microshift on 64x64 images, do I just make the following changes in example_testbench_low_power.m:

ActivePixels = 64; % from 216
ActiveLines = 64; % from 256
...
origIm = imresize(origIm, [64, ActivePixels]);

ajboloor avatar Jun 06 '22 19:06 ajboloor