How to Normalize co-ordinates to [-sqrt2,sqrt2]?
이전 댓글 표시
I have got the following code
d = size(img); % dimension
img = double(img);
xstep = 2/(d(1)-1);
ystep = 2/(d(2)-1);
[x,y] = meshgrid(-1:xstep:1,-1:ystep:1);
How does this normalisation actually works? Can any one please help.
댓글 수: 1
dpb
2015년 2월 13일
Well, how about trying a sample case at the command line and see?
BIG HINT: What's the value of [1-(1)'?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 White에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!