What is BGR555 in opencv?
I got nice results with detection of brown objects in BGR555
channel 2
When I check open documentation, I could only find that cv2.COLOR_BGR2BGR55
will give a 16 bit image
.
When converted it has only 2 channels
Can anyone tell me what exactly BGR555
is which contains only 2 channels
?
Code
bgr555Image = cv2.cvtColor(mImage,cv2.COLOR_BGR2BGR555)
gr555Image = bgr555Image[...,1]
gLL = np.array([60])
gUL = np.array([255])
pMask = cv2.inRange(gr555Image,gLL,gUL)
This code is resulting in me detecting brown and similar colour shade objects. Can't seems to find an reason as to how?
I can't find to seem, how this values are derived in open CV this is the only link I could find. Can anyone confirm if this is the same thing used by opencv?
Post your code.