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',...
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 23 de Ag. de 2012
What error message are you getting, and on which line of which routine?
Respuestas (3)
madhuri kalapala
el 24 de Ag. de 2012
1 comentario
Walter Roberson
el 24 de Ag. de 2012
What error message are you getting, and on which line of which routine?
madhuri kalapala
el 25 de Ag. de 2012
Editada: Walter Roberson
el 25 de Ag. de 2012
3 comentarios
Walter Roberson
el 29 de Ag. de 2012
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
el 29 de Ag. de 2012
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.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!