How to declare [X,Y] for image?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, i would like to know how to declare a coordinate for an image?
댓글 수: 0
채택된 답변
KSSV
2017년 4월 3일
Let image be of size mxnx3 or mxn depending on binary on rgb. You can define X,Y as follows.
[X,Y]=meshgrid (1:m,1:n)
The above is w.r.t the indices. If you have x axis and y axis values/ positions you can use meshgrid.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!