04 Apr 2017 03:02 AM |
|
Hi all, i need to execute a change detection with the certainty of obtaining a result in term of change from vegetation class to built class.
I use the SVM classifier.
In order to obtain at least a result i would artificially change the pixels values inside a ROI.
Thank you for any Suggestion?
|
|
|
|
Deleted User New Member
Posts:24  
07 Apr 2017 03:52 AM |
|
Actually my solutions is using gdal_rasterize to overwrite a given raster with a polytgon (or multypolygon), assigning the desired values for each raster band.
The problem is that i am trying to use minimum number of software as possible and i'm looking for an envi api/idl solutions, so the threats remein open for me.
Any suggestion?
|
|
|
|
MariM Veteran Member
Posts:2396  
07 Apr 2017 08:47 AM |
|
The only tool I can think of is the Build Mask and Apply Mask tools. If you create a mask of the ROI area, you can apply that mask to the data set and set a new value for the masked areas.
|
|
|
|
Deleted User New Member
Posts:24  
07 Apr 2017 10:23 AM |
|
The solution you propose seems ok in case of one-band raster. However, in my case i have a 7-bands raster. This means that i have to create 7 masks and apply those to each bands: a not practical way respect the one proposed by the gdal_rasterized solution. Maybe a "replace pixel values" function, given a multyband raster and a ROI/vector could be a usefull improvement.
Anyway, thanks for your answer.
|
|
|
|
MariM Veteran Member
Posts:2396  
07 Apr 2017 10:27 AM |
|
There is a pixel editor in ENVI Classic that you could try.
|
|
|
|
Deleted User New Member
Posts:24  
07 Apr 2017 10:55 AM |
|
Pixel Editor you are suggesting foreseen a batch use case?
|
|
|
|