This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Image Dithering

Does anyone know how to use dithering technique to convert 16 bit bitmap image to low depth color such as 12 bpp or 8 bpp for LCD display...?

The source is RGB565 bmp format convert to RGB444 or RGB323 format.

I guess that there are many algorthm exist for PC but we would like to perform it on arm with limited resource.
I don't care about dithering algorithm's efficiency,
but care about the dithering algorithm's quality.

Thanks in advance.

Parents
  • Have you looked at the amount of code that is needed to extract the image data from a png or jpeg image?

    Have you looked at the amount of code that is needed to perform error diffusion for limiting the color depth?

    What was your initial thought about the amount of code for the two tasks?

    When all you have is a hammer, everything around you tends to look like a nail. The quality of the code Matlab can generate isn't really relevant if the majority of the problem is to implement networking code that receives data from a webcam, and decodes the actual image data. The dithering step may be less than a percent of the application. That might mean that it is better to decide what tools are most suitable for the other 99% of the application - especially since

    Matlab is an excellent tool but in this case the algorithms requested are quite simple.

Reply
  • Have you looked at the amount of code that is needed to extract the image data from a png or jpeg image?

    Have you looked at the amount of code that is needed to perform error diffusion for limiting the color depth?

    What was your initial thought about the amount of code for the two tasks?

    When all you have is a hammer, everything around you tends to look like a nail. The quality of the code Matlab can generate isn't really relevant if the majority of the problem is to implement networking code that receives data from a webcam, and decodes the actual image data. The dithering step may be less than a percent of the application. That might mean that it is better to decide what tools are most suitable for the other 99% of the application - especially since

    Matlab is an excellent tool but in this case the algorithms requested are quite simple.

Children
No data