Hi: I can't get avwstats++ to work with a mask, when I specify a mask with -k I get the following error message: Mask and image must be the same size (I double checked sizes and they are the same) I can get it to work if I mask my image first and feed the masked one to avwstats++ Thanks! lino