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

3 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Ashish Uthama
Ashish Uthama el 25 de En. de 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.

Más respuestas (2)

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

Jyothilekshmi
Jyothilekshmi el 2 de Jun. de 2011
You can read either by using uigetfile or by simple loop

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by