segmap.py now subtracts background when creating new gim
attribute