March 4, 2020 - Trying out different Color Segmentation Method
Lab Work
Today, I started going through the tutorial seen in this post:
Color spaces in OpenCV (C++ / Python)
in order to try and possibly find a more effective way to segment the images by color.
The first thing that the post mentioned doing was splitting the image of interest into separate color channels of three types of color spaces: RGB, Lab, and YCrCb. So, I split this image:
into those different color channels using the help of these sources:
Splitting Image using OpenCV in python
How to get a-channel from LAB (lab) color space in python
to produce these results:
RGB:
R:
G:
B:
Lab:
L:
a:
b:
YCrCb:
Y:
Cr:
Cb:
Next Steps
Continue to go through the tutorial
Written on March 4, 2020