Picture comparison, latest.
조회 수: 14 (최근 30일)
이전 댓글 표시
I have completed running C++ code for image stitching using ASIFT.
Which robust, reliable, SOTA, industrious, accurate, fast, contemporary image recognition solution you can propose?
What is the function(methode) to see if 2 images have similar vectors?
댓글 수: 0
답변 (1개)
Rahul
2024년 11월 13일 8:21
In order to apply image recognition on the image obtained after image stitching using ASIFT, consider using 'Image Recognition' with MATLAB, which provides features for image labeling and exploring deep learning and machine learning algorithms for object recognition.
In order to compare images for similarity vectors, consider one approach of using the 'detectSURFFeatures', 'extractFeatures', and 'matchFeatures' functions to find and match features between two images. Here is an example:
% Detect features
points1 = detectSURFFeatures(image1);
points2 = detectSURFFeatures(image2);
% Extract features
[features1, validPoints1] = extractFeatures(image1, points1);
[features2, validPoints2] = extractFeatures(image2, points2);
% Match features
indexPairs = matchFeatures(features1, features2);
Other approaches which can be used for comparing images for similarity:
Histogram Comparision - 'imhist' and 'corr2' functions can be used. Here is an example
hist1 = imhist(image1);
hist2 = imhist(image2);
similarity = corr2(hist1, hist2);
Structural Similarity Index (SSIM) = 'ssim' function can be used. Here is an example
similarity = ssim(image1, image2);
Refer to the following MathWorks documentations to know more:
‘Image Recognition with MATLAB’: https://www.mathworks.com/discovery/image-recognition-matlab.html#image-recognition-with-matlab
'detectSURFFeatures': https://www.mathworks.com/help/vision/ref/detectsurffeatures.html
'extractFeatures': https://www.mathworks.com/help/vision/ref/extractfeatures.html
'matchFeatures': https://www.mathworks.com/help/vision/ref/matchfeatures.html
Hope this helps! Thanks.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!