Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color input image support #2

Open
ajboloor opened this issue Jun 5, 2022 · 2 comments
Open

Color input image support #2

ajboloor opened this issue Jun 5, 2022 · 2 comments

Comments

@ajboloor
Copy link

ajboloor commented Jun 5, 2022

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.

@zhangmozhe
Copy link
Owner

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

@ajboloor
Copy link
Author

ajboloor commented Jun 6, 2022

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]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants