- use green = img.[1]
- let greenFloat = green.Convert<Gray, float32>()
- let filteredGreen = gaussianFilter greenFloat config.LPFStandardDeviation
+ use img_float = img.Convert<Bgr, float32>()
+
+ // use img_RBC = mergeChannels img_float config.Parameters.colorContribution_BG_RBC
+ use img_RBC = mergeChannelsWithProjection img_float (94.7f, 80.7f, 99.3f) (113.3f, 135.3f, 150.3f) 255.
+ let img_RBC_filtered = gaussianFilter img_RBC config.LPFStandardDeviationRBC
+
+ //use img_parasites = mergeChannels img_float config.Parameters.colorContribution_RBC_parasite
+ use img_parasites = mergeChannelsWithProjection img_float (76.f, 58.f, 94.f) (94.7f, 80.7f, 99.3f) 255.