Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

true false array to black and white

#should convert true false to black white first with this
mask = true_false_array.astype('uint8')*255
#then mask
cv2.bitwise_and(img, img, mask = mask)
 
PREVIOUS NEXT
Tagged: #true #false #array #black #white
ADD COMMENT
Topic
Name
2+1 =