refined morphologic operations