Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

how to calculate vegetation for a given image

1 view (last 30 days)
for mm = 1:size(fnam,1) for nn = 1:size(fnam,2) if (fnam(mm,nn,2) -10) > fnam(mm,nn,1) & (fnam(mm,nn,2)-10) > fnam(mm,nn,3) fnam(mm,nn,1) = fnam(mm,nn,1); fnam(mm,nn,2) = fnam(mm,nn,2); fnam(mm,nn,3) = fnam(mm,nn,3); a=a+1; else
<<
/matlabcentral/answers/uploaded_files/66216/images.jpg>>
b=b+1; end end
if true
% code
end end
  1 Comment
John D'Errico
John D'Errico on 25 Dec 2016
Edited: John D'Errico on 25 Dec 2016
If you just want to add information to your previous questions, stop adding a new question. This is now the 4th such identical question you have asked, with only slightly different text.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!