change pixels color value
hi everyone i want to change some pixels values based on special condition. for instance if value of a pixel is 75, set it to zero or some another values. i use opencv in c++ and use IPLimage for processing images in program. i want to use this idea for detect unnecessary areas and eliminate them. thank you.
now try again, please; explain it to a 5 year old (and avoid IplImages, they died in 2010)
(if you did not find out yet, what replaced them, - there's work for you...)
in grayscale images any pixels have values between 0 and 255, OK? i want to get this values and set them by desired values.
start reading here, and ofc here
thanks a lot! i find my answer. i am new in opencv and this tutorials is great for me.