How do i store Images on database based on extracted features, then retrieve image based on image query?
이전 댓글 표시
Dear Experiences..
- i have 100 images in folder called (D:\images)..
- i have extracted feature from every single image where the extracted features are represented as matrix (M x 128),
- where M refer to feature matrix rows and 128 are feature extracted columns... for all images columns are fixed but rows are differs based on size of an image...
- feature matrix are numeric matrix...
- so, i need a way to store all images (100 images) in Database or such other structure content based on image features.. and when i need to retrieve an image .. its compare query image feature matrix to those in database then retrieve similar one... (i think here pairwise distance or such other metric must be used)...
so, i will thank any one can give me an advices or help me in this issue...
thanks..
채택된 답변
추가 답변 (1개)
Image Analyst
2017년 7월 23일
You can save your (poorly-named) database variable "M" in a .mat file with save().
save(fullFileName, 'M');
You can retrieve M with load().
storedStructure = load(fullFileName); % Get everything fro mfile.
M = storedStructure.M; % Extract the "M" field from the structure.
You can compare your current image's features to M with functions such as find(), ismember(), ismembertol(), or the double equals operator "==", etc.
If you need an "official" database, like Oracle, Access, or something similar, then you might want to get the Database Toolbox.
카테고리
도움말 센터 및 File Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!