fix mask frac calc
esheldon opened this issue · comments
Erin Sheldon commented
The stamp size is erroneously included, making the area used for this calculation to small
Erin Sheldon commented
trim = trim_pixels + stamp_size // 2
If anything this should be
trim = trim_pixels - stamp_size // 2
because that area is used for measurement, even though objects are trimmed if their center is in that area