简体   繁体   中英

How to set pixels of point A (x, y) at point A (x, y2) to 1?

How to say that the pixels of point A (x, y) at point A (x, y2) are equal to 1? (At first this points equal to 0 and for example there are 5 points between them)

            A(x,y):1:A(x,y2)=1;

Is it right?

使用MATLAB的矩阵索引工具:

A(x,y1:y2)=1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM