X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Aug 2013 08:06 AM by  anon
scaling
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
07 Aug 2013 08:06 AM
    Hello everyone, Is it possible scale (pixel value) only a subset of the image? I mean scale pixels under some mask. I want to scale all image except water objects. I can't make value range in band math and multiple because values are crossing in all bands ( i have 48 band image ). So i wounder before i press process button in bad math i could select spatial subset for non water area and it multiples only subset area. I tried it but it doesn't worked. I hope for some solutions. Kind regards, Skywalker

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    09 Aug 2013 12:31 PM
    Band math would be the best way to do this and if the values for water are different in each band, then you have to perform the task on each band and save them back into one file afterwards. There is no spatial subset option based on an ROI or mask in band math. If you make a mask of the water area, you could apply the mask, perform the scaling in band math, then mosaic the images together with the scaled image on top.

    Deleted User



    New Member


    Posts:
    New Member


    --
    12 Aug 2013 01:38 AM
    Greate! But how could i save back bands into one file after i performe band math task on each band? With Layer stacking?

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    12 Aug 2013 05:53 AM
    Yes, you can use Layer Stacking or if in ENVI Classic, File->Save File As->ENVI Standard.
    You are not authorized to post a reply.