one d array or 2d array ,Which is good for image processing ?

one d array or 2d array ,Which is good in image processing ?

Which is the best way to read image, 1D array or 2D array

unsinged char * ImageBuffer or
unsinged char ** ImageBuffer ???

1 Answer

1

Because of images are 2d arrays, may be using **ImageBuffer array will be best.