Thank you Vinay for the explanation. But for lower values of m,say 4, where bpp would then be 0.5, there appears a lot more block noise than expected at that bitrate. any adjustments you might suggest?
Hi Vinay, i run the DCT code but i need more explanation on the n,m part. e.g when i run n=8,m=2, i get an error about exceeding matrix dimensions. n is also indicated as bits per pixel, but when i try a value like n= 0.5, i still get an error.
Please enlighten me on that part(n,m) and how to use then to calculate the right bit per pixel values. Otherwise thank you for the code