comparing an image with .mat file with 100 images
조회 수: 1 (최근 30일)
이전 댓글 표시
I have created .mat file with 100 images of cars and now i want to compare the image with cars, with the images in the .mat file and have to display the cars in the image separately can any one give me a sample code for this please.
thanks in advance.
댓글 수: 4
Image Analyst
2022년 6월 24일
Sure, start a new question and say why you need that versus just having the images stored in normal files in a folder, or using an imageDatastore, after reading this:
답변 (1개)
Image Analyst
2013년 8월 27일
How about subtracting them? We have no idea how you'd like to compare the test image to the images stored in the .mat file.
댓글 수: 5
Image Analyst
2013년 8월 28일
If you have the bounding box, you can call imcrop() to save that subimage to a file - you don't actually need to plot the box around the car in the overlay in order to crop it and save it.
참고 항목
카테고리
Help Center 및 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!