add some more tools
remove inner loop debugging code
add a scaling filter
check return values
test runs through
add regiongrow skeleton
add file cleanup
add lable map
update copyright and add probmap
chain finalize at the end of the function