I notice that SNAP seems to keep track of dependencies between bands, pins, and masks. For example, if I import some pins and make a mask or band from them, that mask or band will change if the original pins change. And if the original pins are deleted, anything that depends on them will not be deleted, but will simply become empty.
I can see how this might be desired behavior in certain circumstances, but in others (like mine ), itâs a problem. Is there any way to break that dependency and make âchildâ products persist independent of changes to the original elements?
As soon as you store the child product to disk it should be independent from itâs parent.
For mask and bands you have generated, you can create a copy of it by using the Band Maths.
Just use the name of the source band as expression and then ensure that you disable the Virtual option.
Then it should be independent.
Thanks Marco! Iâm usually pretty disciplined about âsaving oftenâ but apparently I didnât save during my process.
FWIW, it really helps to be able to create bands and masks simply using the expression âPinsâ. I wouldnât mind if the pixel morphology functions (dilate, etc) were part of the Band Maths function set, so I could say âdilate5(Pins)â.
For that matter, it would also be nice to select a subset of Pins based on their color: âdilate5(Pins(red))â
The morphology functions are not included in the Band Maths (it works on a pixel bases) but did you have a look in the menu entry beneath Band Maths? Filtered Band?
The morphology functions are not included in the Band Maths (it works on a pixel bases) but did you have a look in the menu entry beneath Band Maths? Filtered Band?
Yes, which is why Iâd like to see them as functions in the Band Maths dialog
Oh, and can we please get a US customization to change that to Band Math?
We named it âBand Mathâ in the very beginning. But then someone (an English guy) told us it should be âBand Mathsâ.
Unfortunately we donât support localis(z)ation.