WeiTang114 / MVCNN-TensorFlow

An Multi-View CNN (MVCNN) implementation with TensorFlow.
MIT License
120 stars 67 forks source link

How do you change the picture background to white? #16

Closed hy-Jeff closed 6 years ago

hy-Jeff commented 6 years ago

hello,How do you change the picture background to white? Because I want to use another database, but the background of the data is also white.Can you introduce some methods?

WeiTang114 commented 6 years ago

Hi, it's like this

im = cv2.imread(path)  # (0-255)
im = 255. - im
hy-Jeff commented 6 years ago

Thank you very much~! On 11/30/2017 22:54,Tang Leenotifications@github.com wrote:

Hi, it's like this

im = cv2.imread(path) # (0-255) im = 255. - im

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.