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:

20180924-angasi022-10x-tiled.PNG

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: r.PNG

G: g.PNG

B: b.PNG

Lab:

L: L.PNG

a: A.PNG

b: B(lab).PNG

YCrCb:

Y: Y.PNG

Cr: Cr.PNG

Cb: Cb.PNG


Next Steps

Continue to go through the tutorial

Written on March 4, 2020