As you know, in an index image, each pixel value indicates the code of a colour stored in a map, and index images are popular in various fields. Unfortunately, index image downscaling is very indispensable whereas we have not convenient tools for it in view of the fact that most downscaling methods are based on average. The question is how can we downscale an index image while preserving the form of shapes? I was involved with this problem for a while and found a solution.

Suppose we have an index image like Figure 1, after downscaling with the nearest neighbour…

Mohammad Amin

AI Researcher | Software Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store