How to convert images in .mat format to .csv format

I am using brain image database containing 3064 image database.
How to convert thsi .mat dataset to .csv or. xls form.

Antworten (2)

KALYAN ACHARJYA
KALYAN ACHARJYA am 18 Dez. 2020

0 Stimmen

Steps: (Use Loop to all one by one file)
  • Load the images
  • csvwrite to save save the file
Image Analyst
Image Analyst am 18 Dez. 2020

0 Stimmen

See attached demo to write out an RGB image in rows of [x, y, r, g, b]. One row for every pixel.
Adapt as needed.

Tags

Gefragt:

am 18 Dez. 2020

Beantwortet:

am 18 Dez. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by