how to quatize one curve?

Hi,
Assuming there is one curve composed of several points:[0.0 0.0], [0.33 0.12], [-0.56 1.45], ....... and the coordinate is divided into many 0.1x0.1 square grids. How to quantize the curve which means the value of each square that the curve passes through should be added by 1?
Thanks.

답변 (1개)

bym
bym 2011년 4월 28일

2 개 추천

댓글 수: 2

Zhengyu
Zhengyu 2011년 4월 29일
yes, it's similar with that.But the line direction can be anywhere and the endpoints are not integer, the problem is how to find those pixels that the line passes through by Matlab code? Thanks.
bym
bym 2011년 4월 29일
I don't see where line direction and integer endpoints are necessary for the algorithm to supply what you need

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Axis Labels에 대해 자세히 알아보기

태그

질문:

2011년 4월 28일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by