however the present invention can also be applied to where the equivalent algorithm is a coloring component.
This is the same for where the image format is RGB, and the equivalent algorithm can be applied to the respective R, G, B components.