Open xiemeilong opened 6 months ago
@xiongzhu666 Thank you for your answer. But I want to ask, how can the refined mask be used to extract the original photo, because after refinement it is no longer a binary mask. Do I need to convert it to a binary mask?
@xiongzhu666 Thank you for your answer. But I want to ask, how can the refined mask be used to extract the original photo, because after refinement it is no longer a binary mask. Do I need to convert it to a binary mask?
no,normalized the mask to 0-1 and merge by alpha output = alphaa + (1-alpha)b
@xiongzhu666 Sorry, I'm not sure what you mean by 'a' and 'b' respectively.
Oh, I see now. Its about the way to combine two photos, right? But if I directly multiply the original photo with the normalized mask, the resulting photo doesn't look good. The clouds in the sky are still there, and some parts of the ground are darkened. Is this because I'm using U2NetP?