i am doing an image recognition project and would like to use the pixel values as the medium to differentiate 2 different images via matlab nprtool. To prepare the training and testing data set, the data has to be in either a column or a row form. So how can I concatenate pixel values of an image (for example 100×100) into 1 column or 1 row of data? What is the most appropriate way to do it?
Share
if your matrix is called
image, use the:operator