I have a question. When we use 'imread' to read a picture, the black part will be displayed as 0 and the white part will be displayed as 255. But our damaged area is represented in black in the mask picture, and converted to a value is 0. According to this calculation, there is a problem, for example: outputs = outputs masks + edges (1-masks). This is not a picture with the repaired part + the original picture as the damaged part. I wonder if you understand my question? I hope I have time to answer my questions, thank you~
I have a question. When we use 'imread' to read a picture, the black part will be displayed as 0 and the white part will be displayed as 255. But our damaged area is represented in black in the mask picture, and converted to a value is 0. According to this calculation, there is a problem, for example: outputs = outputs masks + edges (1-masks). This is not a picture with the repaired part + the original picture as the damaged part. I wonder if you understand my question? I hope I have time to answer my questions, thank you~