This was great, helped me a lot in my project to create a spritemap, I could develop my own code based of this in MATLAB to quantise an image from 24-bit to 12-bit and later convert to a .mif file. Thanks a lot!
Thanks . I am only facing issue where you multiplied C*16 , D*85 and E* 255 these are for 4 bit 2 bit and 1 bit .. what if we have to do it from 1 to 7 bits .. what will be that specific values ? you multiplied with capital C D E ... value for 3 Bit 5 bit, 6 bit ,7 bit ?
This was great, helped me a lot in my project to create a spritemap, I could develop my own code based of this in MATLAB to quantise an image from 24-bit to 12-bit and later convert to a .mif file. Thanks a lot!
Happy to help 😇
om om india lo keren banget anjirrrr ,good job
This video is helped me so much, thank you :)
Happy to help ..😊 most welcome ..
What if i want to subsample 16x16?
One way to do this is to directly use the imresize function in matlab
Your videos are really helpful
Can you share the code
I have updated the decription of the video you can find the code there
is it also called compression ? by bit per pixel?
Yes you can say that
Thanks . I am only facing issue where you multiplied C*16 , D*85 and E* 255 these are for 4 bit 2 bit and 1 bit .. what if we have to do it from 1 to 7 bits .. what will be that specific values ? you multiplied with capital C D E ... value for 3 Bit 5 bit, 6 bit ,7 bit ?
@@techbro7265 you can use the following formula for that
255/((2^n)-1)
where n is the no. of bits
for 3 bit n = 3;
can we say that you are quantizing
Yes
Can you show me how we can quantize a rgb image?
So for a RGB image you basically have 3 different matrix one for each RGB. You can use the above algorithm on all the 3 matrices.
Iam getting three same images if i do it ..as you said
@@jpsama7817 right then merge the 3 matrices again to get one rgb image