Filling the enclosed areas with random colors - Haskell - Friday
问题 I am trying to perform not very complex image analysis to try and find distinct shapes and calculate some of their parameters like area and perimeter (in pixels) and I am trying to do this in Haskell (I wanted to do that to try and work with functional programming language). The first task in line is to count the amount of spoons on the image: I am using Friday Haskell package to work with images. My idea was to use the Friday's edge detection and then fill all of the enclosed areas with it's