03 Nov 2012 03:07 PM |
|
Hi All,
Kindly, could anyone please let me know; is it possible in ENVI 4.8 to classify the vegetation density using an NDVI image according to the NDVI pixel value into (for instance) five categories, as following:
1. >0 to 0.15
2. >0.15-0.30
3. >0.30-0.45
4. >0.45-0.60
5. >0.60
Whereat all pixels in the first category take the value 1, all pixels in the second category take the value 2, and so on. Then please how to convert each mentioned category from raster into vector format.
Thanks a lot in advance.
Rafil
|
|
|
|
MariM Veteran Member
Posts:2396  
05 Nov 2012 08:14 AM |
|
You would use a Density Slice (or what is now called Raster Color Slice in ENVI 5) to color the data ranges you desire. Then from the tool you can save it has a classification image.
|
|
|
|
Deleted User New Member
Posts:  
05 Nov 2012 03:51 PM |
|
[QUOTE]MariM wrote
You would use a Density Slice (or what is now called Raster Color Slice in ENVI 5) to color the data ranges you desire. Then from the tool you can save it has a classification image.
[/QUOTE]
Dear MariM,
Many thanks indeed for your concern and your reply. Kindly, I hope you could let me know how can I assign value 1 to the first category, value 2 to the second category, and so on for the five categories of the NDVI image? As well as, after doing that how can I save the image as a new raster file includes five classes (categories).
Thanks a lot again.
All the best.
|
|
|
|
Deleted User New Member
Posts:  
09 Nov 2012 03:30 PM |
|
Once you have the classification image you can change the values of the classes in the ENVI header.
|
|
|
|
Deleted User New Member
Posts:  
17 Nov 2012 12:49 PM |
|
[QUOTE]ccooling wrote
Once you have the classification image you can change the values of the classes in the ENVI header.[/QUOTE]
Thanks a lot for your concern.
Kindly, could anybody please let me know how can I do that?
Any help will be highly appreciated.
|
|
|
|
Deleted User New Member
Posts:  
19 Nov 2012 05:16 AM |
|
[QUOTE]rafil wrote
ccooling wrote
Once you have the classification image you can change the values of the classes in the ENVI header.
Thanks a lot for your concern.
Kindly, could anybody please let me know how can I do that?
Any help will be highly appreciated.
[/QUOTE]
Open the header file with a text editor ( notepad, notepad++) and modify the values there.
|
|
|
|