I just commited the necessary changes to PTmasker to support this
feature. This is an example of the workflow:
../../tools/PTmender -o tiffs colum.txt columbine_small_registered_000*.jpg
../../tools/PTmasker -e 5 -z -m2 -w 4 -s 4 -f -p mask tiffs*.tif
rm -f tiffs*.tif mask*.tif
THe new options are:
-z enable it
-m <value> type of mask
-w size of focusing window
-s size of smoothing window
defaults to -m2, -w4 -s4 iff -z is enabled.
if -z is enabled, -e should also be provided.
Run it without parameters to see what it does.
the final result has "mottled" background (see
I recommend to copy the bottom layer (the one with the nicest
background bokeh) to the top layer, and then mask it completely, and
selectively renable the mask for those areas that look "ugly".
Daniel M. German "The vitality of language lies in
its ability to limn the actual,
imagined and possible lives
Toni Morrison -> of its speakers, readers, writers."
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .
Get latest updates about Open Source Projects, Conferences and News.