Ask Your Question

Revision history [back]

I have an image with all pixel values 0 i.e black image, i want to access pixels at certain image coordinates more then a 100 and change the value to 1 how can i do this using opencv python and for loops if possible?

The whole idea is to create a binary image with white pixel values which are defined by user.