Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

An array of Images

Hi there, I know how to read and process a single image using Mat variables. Recently, I´ve a nightmare about arranging multiple images. For example, suppose I want to read a 55 array of RGB images and another 88 array of RGB images. Please keep in mind that the number of horizontal and vertical images are not known in advanced and they should be set on the run time. Should I define multiple Mat variables to store 55 or 88 RGB images? How can I access/modify each image? Thank you for your help.

click to hide/show revision 2
None

updated 2017-10-16 09:51:34 -0600

berak gravatar image

An array of Images

Hi there, I know how to read and process a single image using Mat variables. Recently, I´ve a nightmare about arranging multiple images. For example, suppose I want to read a 55 5x5 array of RGB images and another 88 8x8 array of RGB images. Please keep in mind that the number of horizontal and vertical images are not known in advanced and they should be set on the run time. Should I define multiple Mat variables to store 55 5x5 or 88 8x8 RGB images? How can I access/modify each image? Thank you for your help.

click to hide/show revision 3
retagged

updated 2017-10-16 10:18:23 -0600

berak gravatar image

An array of Images

Hi there, I know how to read and process a single image using Mat variables. Recently, I´ve a nightmare about arranging multiple images. For example, suppose I want to read a 5x5 array of RGB images and another 8x8 array of RGB images. Please keep in mind that the number of horizontal and vertical images are not known in advanced and they should be set on the run time. Should I define multiple Mat variables to store 5x5 or 8x8 RGB images? How can I access/modify each image? Thank you for your help.