ratt-ru / breizorro

Image masking tool(s) possibly of Breton spiritual origin
GNU General Public License v3.0
5 stars 2 forks source link

Region merge turns NaNs to zeros #31

Open IanHeywood opened 1 year ago

IanHeywood commented 1 year ago

Merging a region turns NaNs in the input mask into zeros ones in the output mask.

Screenshot 2023-10-03 at 14 30 09
o-smirnov commented 1 year ago

Is there a reason to keep NaNs in the mask?

o-smirnov commented 1 year ago

Ah wait, turns into ones, that's no good. I could understand turning NaNs into zeroes...

IanHeywood commented 1 year ago

Yeah sorry I thought I'd edited the title.

Athanaseus commented 1 year ago

Hi @IanHeywood, good catch; thanks for opening the issue. Please try this branch for a fix: fix-issue-31