How to Sampling Uniformly in an image?
조회 수: 1 (최근 30일)
이전 댓글 표시
hi I'm working in Action Recognition Project. Here the motion boundary is detected by sobel operator. Now I have the result of sobel operator, a binary image. I have to take 25% of pixels in motion boundary by uniformly sampling.
Thanks in advance
댓글 수: 0
채택된 답변
Image Analyst
2012년 9월 26일
댓글 수: 2
Image Analyst
2012년 9월 27일
You can use bwboundaries() to get the coordinates of the outer perimeter of the white objects in your binary image. Then pass those coordinates into interparc().
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!