image error
이전 댓글 표시
x=imread('pp.jpg');
>> [m,n]=size(x);
>> x=[[1:m]' x];
??? Error using ==> horzcat
CAT arguments dimensions are not consistent.
why this error occured and how to remove this error?
댓글 수: 1
Image Analyst
2012년 3월 19일
What are you trying to do? Put up a ramp from 1 to m along the first row or first column of x? Be aware that if the number of rows is more than 255 your ramp will get clipped to 255.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Image Segmentation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!