Rafek
In the context of image processing, "planar" and "interleaved" refer to different ways of organizing pixel data in memory.
In a "planar" image format, all the pixel data for each color plane is grouped together. For example, in an RGB image, all the red values are stored together, followed by all the green values, and then all the blue values. This format is useful for certain types of image processing operations that work on one color channel at a time.
On the other hand, in an "interleaved" image format, the color values for each pixel are stored together. For an RGB image, this means that the red, green, and blue values for the first pixel are stored first, followed by the RGB values for the second pixel, and so on. This format is useful for operations that need to work with all the color channels for a pixel at the same time.
In summary, the difference between "planar" and "interleaved" lies in how the color data is arranged in memory. The choice between the two often depends on the specific requirements of the image processing operations being performed.
Thanks,
Jaka