필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
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

채택된 답변

Ashish Uthama
Ashish Uthama 2011년 1월 25일
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.

추가 답변 (2개)

Walter Roberson
Walter Roberson 2011년 1월 25일
Please see the FAQ on this topic
You should probably also read this FAQ on working with multiple variables.

Jyothilekshmi
Jyothilekshmi 2011년 6월 2일
You can read either by using uigetfile or by simple loop

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by