how to click a point in an image
조회 수: 2 (최근 30일)
이전 댓글 표시
Is there any function which can be used to click a point and save the point's location aside from impoint?
Thanks,
Zhong
댓글 수: 0
채택된 답변
Image Analyst
2012년 4월 18일
You can also use impixel(). It gives you the image intensity or color as well as the x,y coordinate(s). From the help:
"
Description
impixel returns the red, green, and blue color values of specified image pixels. In the syntax below, impixel displays the input image and waits for you to specify the pixels with the mouse.
P = impixel(I)
P = impixel(X,map)
P = impixel(RGB)
[xi,yi,P] = impixel(x,y,...)"
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!