How to upload multi files of .mat, then convert to image and crop the center region of the outcome image ? Automatically

조회 수: 1 (최근 30일)
- number of .mat files automatically uploaded
  • convert the uploaded files to images
  • crop the centriod of images and save to different destination
  댓글 수: 1
Rik
Rik 2020년 11월 25일
Yes, this is a duplicate, but since you have received an answer, I would suggest keeping this question as it is.

댓글을 달려면 로그인하십시오.

답변 (1개)

Swetha Polemoni
Swetha Polemoni 2020년 11월 25일
Hi Mohamed Elbeialy,
It is my understanding that you want to load a mat file , covert it into image and work on it.
  • To understand , to load a mat file and convert into image you could refer to following links ,link1, link2 and link3.
  • For cropping image you could use "imcrop". There are many ways to crop images using imcrop that are clearly explained with examples in the documentation. Feel free to experiment to get the way you wanted to crop the image.
  • To save image in filepath specified, you could use "imwrite".
Hope this helps.

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by