3d image preprocessing- reading and loading images from a folder

1 visualizzazione (ultimi 30 giorni)
i am a student who is doing a project on 3d image. I have got a data base containing 3d images 1. There are Disparity gray color images in 'Disparity' folder 2. there are color images for each gray color image in 'Stereo' folder these are taken from a stereo vision 3d cam. My problem is that i couldn't able to read and load all the images in a folder from a single code. then apply cropping to the loaded image. If you can pls help me to find the code for read and load all the images at once. thanks

Risposta accettata

Ashish Uthama
Ashish Uthama il 25 Gen 2011
If the files follow an order sequence of names, you can use the document example here to build your code.
You would have to replace the imread/ importdata function calls with whatever function you use to read these 3d images.
I would recommend processing the images one at a time rather than loading all of them 'at once' (least you hit some memory constraints). You can do that by directly processing the data inside the loop in the above example instead of storing it in a cell array.

Più risposte (2)

Walter Roberson
Walter Roberson il 25 Gen 2011
Please see the FAQ on this topic
You should probably also read this FAQ on working with multiple variables.

Jyothilekshmi
Jyothilekshmi il 2 Giu 2011
You can read either by using uigetfile or by simple loop

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by