How to store Image data after preprocessing for further processing

6 views (last 30 days)
Dua Arshad
Dua Arshad on 24 Mar 2020
Commented: Rana Muayad on 28 Dec 2020
I am trying to extract fruit features for recognition purpose. I have done all the preprocessing. but how can I store this preprocessed data so as to use it for furthur processing.
  1 Comment
Rana Muayad
Rana Muayad on 28 Dec 2020
i have the same problem
i keep all process image as array and store it in file.dat
but this file not accepted in the next stage (cnn for classification image)
i need solution to my problem?

Sign in to comment.

Answers (1)

Rashedur Rahman
Rashedur Rahman on 26 Mar 2020
I don't understand what you meant by 'store'. But a few suggestions are mentioned below
(1)You can write the processed image as a new image using 'imwrite' function (https://www.mathworks.com/help/matlab/ref/imwrite.html). Read the saved image using 'imread' funciton when necessary (https://www.mathworks.com/help/matlab/ref/imread.html)
(2) If you want to keep all the processed images in the workspace, you can put those in a cell array.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!