Finding rectangles of a specific size in an image
조회 수: 5 (최근 30일)
이전 댓글 표시
I have 2 pictures:
1: a picture of 2x4 lego piece
2: a picture of scattered lego pieces
I need to find all 2x4 lego pieces of picture 1 in picture 2.
I tried finding the distline of the 2x4 lego piece, but I can't match it to the ones in the 2nd image.
I also considered using a histogram to compare values of blocks, but I can't seem to get the individual blocks of the same size in image 2
댓글 수: 0
답변 (1개)
Vinai Datta Thatiparthi
2019년 12월 16일
Hi Geetha!
MATLAB supports detection of features through multiple functions that employ different feature detection algorithms. Here is the list.
Further, here is a step-by-step example on “Object Detection in a Cluttered Scene Using Point Feature Matching” that may be of help to you. This example uses the SURF Features to match the objects between the 2 images.
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!