How to create images database in matlab to store 5 images.
조회 수: 8 (최근 30일)
이전 댓글 표시
I want to make a database of 5 images I have, which are img1,img2,img3,img4,img5. I will will use this for template matching which is part of my research. please any body can help me in this regard to provide me the source code?
댓글 수: 3
sheetal jagtap
2015년 2월 13일
Sir may u please explain me ,how this actually works.I am not getting from where to give path of images & what that int2str function stands for.
채택된 답변
Mohammad Abouali
2014년 10월 22일
load them into separate cell array
imageDB{1}=imread('img1.jpg');
imageDB{2}=imread('img2.jpg');
댓글 수: 7
sushmitha kemisetti
2017년 7월 5일
I have created Database shown above, now I want to import(read) an image from the created database to the other application(program), so please suggest me the code to do?
추가 답변 (4개)
Image Analyst
2014년 10월 23일
See the FAQ for code samples: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
댓글 수: 1
Rizwan Chughtai
2017년 5월 18일
Dear " Image Analyst" i need your help.
problem: let say i have 5 images of 300x300 and these images are simple color images, say; ist image is red color image, 2nd is blue, 3rd is yellow, 4th is white and 5th is black color image. so first i have to save all 5 images like a database then i can input one image from the above image and find out the correct image from my database (just like correlation) i-e my input image is the ist image from my database or my input image is the 2nd image from my database or my input image is the 3rd image from my database... and so on...
and we can choose the correct image from our database on the basis of color...
kindly send the code of above stated problem "Image Analyst", if possible.
thankyou.
Dima Lisin
2014년 10월 24일
The imageSet class in the Computer Vision System Toolbox gives you an easy way to create a collection of images.
seenu Ramdoss
2015년 2월 10일
Sir, i need create one food database and i compare my input food image with the data base....in matlab ,,,how to i do this...
댓글 수: 1
Image Analyst
2015년 2월 10일
There are many aspects of that: image capture (cameras, lighting, etc.), data storage, image analysis, feature vector comparison, what to do based on the results, etc. It's too much to ask us to layout an entire turnkey system for you. Can you ask a much smaller, simpler, more targeted question?
Muntaha Saleem
2021년 6월 10일
i need to import mmu iris scans images in matlab kindly guide me how to do it
댓글 수: 1
Image Analyst
2021년 6월 10일
Use imread() if you can.
theImage = imread(fullFileName);
For a full demo, see my Image Segmentation Tutorial:
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!