How to load image through dialog box

3 views (last 30 days)
Latifa Bouguessaa
Latifa Bouguessaa on 14 Jun 2022
Commented: Simon Chan on 14 Jun 2022
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 Comments
Latifa Bouguessaa
Latifa Bouguessaa on 14 Jun 2022
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

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!