i have a jpg image.i want to find vegetative area and count trees in that image.im able to count trees but for finding veg i hav used mathworks demo im getting error in CIR = multibandread('paris.lan', [512, 512, 7], 'uint8=>uint8',...
이전 댓글 표시
i have a jpg image.i want to find vegetative area and count trees in that image.im able to count trees but for finding veg i hav used mathworks demo im getting error in CIR = multibandread('paris.lan', [512, 512, 7], 'uint8=>uint8',... plzz help me to find vegatation in jpg image with example
댓글 수: 2
Walter Roberson
2012년 8월 23일
What error message are you getting, and on which line of which routine?
답변 (3개)
madhuri kalapala
2012년 8월 24일
0 개 추천
댓글 수: 1
Walter Roberson
2012년 8월 24일
What error message are you getting, and on which line of which routine?
madhuri kalapala
2012년 8월 25일
편집: Walter Roberson
2012년 8월 25일
댓글 수: 3
Walter Roberson
2012년 8월 25일
편집: Walter Roberson
2012년 8월 25일
What error message is given? For example is it saying "Index out of bounds"? Is it saying "Objects of type handle cannot be combined with uint8 in arithmetic operations" ? Is it saying "Dimension mismatch" ? Is it saying "Unknown function multibandread for argument string" ?
Assume that I am not going to bother to download the code and image until you provide the actual error message and traceback.
madhuri kalapala
2012년 8월 29일
Walter Roberson
2012년 8월 29일
I have now looked on the projectblessings web site, but I do not see any multiband images there, or anything named paris.lan or sat.jpg ? The images I see on that Tornado Path page have URLs such as http://www.projectblessings.org/store/project_photos/large/project_225.jpg and are plain images rather than satellite images.
Image Analyst
2012년 8월 29일
The JPEG image probably has only 3 bands, red, green, and blue, it doesn't have bands 4 etc. So you should have
{'Band','Direct',[1 1 3]}
The number in brackets is [startBand, increment, stopBand] so look what happens with your numbers:
>> 4:3:2
ans =
Empty matrix: 1-by-0
No wonder it doesn't work.
카테고리
도움말 센터 및 File Exchange에서 Blue에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!