Question
I need to do Quantization to an RGB image in matlab based on 3 slider values as shown below. The values cant be decimals, just
I need to do Quantization to an RGB image in matlab based on 3 slider values as shown below. The values cant be decimals, just integers 0 - 8
rgbBitDepath: A 1x3 row vector; each of the three vector elements represents bit depth of the RGB channel. For example, if the user wants to reduce a 24-bit image (i.e., (8-bit, 8-bit, 8-bit) to (3-bit, 3-bit, 2-bit)), the argument should be [3,3,2], whichrepresents R:3bits, G:3bits, B:2bits. Each bit depth value for each RGB channel should be less than 8-bit.
I got it all working except the quantization. How can I impliment this?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started