April 21, 2020 - Comparing Color Spaces for Male and Female Gonad Segmentation

Lab Work

Today, I used the color thresholds found in my last post for male gonad identification on the rest of the sample numbers randomly chosen from last time that I used for the female gonad segmentation analysis, and here are the results:

image: 20180924-angasi179-10x-scale

original

angasi179-10x-scale

BGR

179s_bgr

HSV

179s_hsv.png

YCrCb

179s_ycrcb

Lab

179s_lab.png

image: 20180924-angasi154-10x-tiled-scale

original

angasi154-10x-tiled-scale

BGR

154s_bgr

HSV

154s_hsv

YCrCb

154s_ycrcb

Lab

154s_lab

image: 20180924-angasi134-10x

original

angasi134-10x.jpg

BGR

134s_bgr.png

HSV

134s_hsv

YCrCb

134s_ycrcb

Lab

134s_lab

image: 20180924-angasi153-10x-tiled-scale

original

angasi153-10x-tiled-scale

BGR

153s_bgr

HSV

153s_hsv.png

YCrCb

153s_ycrcb.png

Lab

153s_lab.png

image: 20180924-angasi104-10x-tiled

original

angasi104-10x-tiled

BGR

104s_bgr.png

HSV

104s_hsv.png

YCrCb

104s_ycrcb.png

Lab

angasi104_lab.png

image: 20180924-angasi094-10x-tiled

original

angasi094-10x-tiled

BGR

angasi94snew_bgr

HSV

angasi94snew_hsv

YCrCb

angasi94snew_ycrcb.png

Lab

angasi94snew_lab.png

image: 20180924-angasi077-10x-tiled

original

angasi077-10x-tiled

BGR

77s_bgr

HSV

77s_hsv

YCrCb

77s_ycrcb

Lab

77s_lab

image: 20180924-angasi038-10x-tiled

original

angasi038-10x-tiled.jpg

BGR

38s_bgr.png HSV

38s_hsv

YCrCb

38s_ycrcb

Lab

38s_lab

image: 20180924-angasi027-10x-tiled

original

angasi027-10x-tiled.jpg

BGR

27s_bgr

HSV

27s_hsv YCrCb

27s_ycrcb

Lab

27s_lab

image: 20180924-angasi010-40x-tiled

original

angasi010-40x-tiled.jpg

BGR

10s_bgr.png

HSV

10s_hsv.png

YCrCb

10s_ycrcb.png

Lab

10s_lab.png

After looking at the results of both the female and male gonad segmentations, it seems like YCrCb or Lab would be the best color spaces to use to segment female gonad, but BGR or HSV would be the best color space use to segment male gonad, but only in cases where either male or female gonad is present. When there is no male or female gonad present, the color segmentation script may erroneously segment out objects in the image that are not the male or female gonad of interest, so that should be taken into consideration when choosing how to segment all of the images in the future.


Next Steps

Try to segment all sample images and use script to use in gonadal sex determination

Written on April 21, 2020