How to load image through dialog box

조회 수: 3 (최근 30일)
Latifa Bouguessaa
Latifa Bouguessaa 2022년 6월 14일
댓글: Simon Chan 2022년 6월 14일
I hope. you can help me
I need to write code that reads and processes Dicom images.
The idea is that the uigetfile function selects the images from the folder and then displays and saves them for further processing
Code to select image from folder
[fileName,filePath] = uigetfile('*', 'Select data file', '.');
Now I don't know how to display the selected image. It didn't work with the imshow function
Do you have an idea.
Many Thanks
Latifa
  댓글 수: 12
Latifa Bouguessaa
Latifa Bouguessaa 2022년 6월 14일
great
It works.
my code should work like this. Start the program, select the image in the dialog box, select the ROI with the mouse and then process it. The problem is with ROI selection, because at this step somewhere in the pause phase until ROI is selected and then processed to the step
Do you have an idea how to realize it
Thank you very much

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

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by