see-insight / see-segment

Simple Evolutionary Exploration - Image Segmentation
MIT License
6 stars 21 forks source link

Update Chan Vese and Morphological Chan Vese to use the Channel parameter instead of only the grayscale image. #32

Closed colbrydi closed 3 years ago

colbrydi commented 3 years ago

Probably the best way to do this is to add a function for channel selection. This function can be based on the code used in the color threshold algorithm. Basically use the Channel parameter to select from (R, G, B, H, S, V) color spaces (or others as we progress). There is a lot we can do to clean up this part of the code.

colbrydi commented 3 years ago

This has been fixed by adding the ColorSpace.py file in the grammar branch.