1
Python and Java API / Masks_From_Color.py
« on: December 13, 2017, 08:05:05 PM »
http://wiki.agisoft.com/wiki/Masks_From_Color.py
This is a great script that works very well.
One request though.
Would it be possible to add colors to the selection, each with their tolerance?
One way to do this is to preserve the existing mask when creating a new mask from color.
This would effectively allow for an additive selection.
You would run this script with one color and then run it again with another color and the mask would be additive reflecting the two pass approach.
Anyone know how to modify the script to accomplish this?
Perhaps there is another way to accomplish this?
This is a great script that works very well.
One request though.
Would it be possible to add colors to the selection, each with their tolerance?
One way to do this is to preserve the existing mask when creating a new mask from color.
This would effectively allow for an additive selection.
You would run this script with one color and then run it again with another color and the mask would be additive reflecting the two pass approach.
Anyone know how to modify the script to accomplish this?
Perhaps there is another way to accomplish this?