Regionprops implementation for D

Andrea Fontana nospam at example.org
Mon Mar 11 09:41:59 UTC 2019


On Monday, 11 March 2019 at 09:29:16 UTC, Ferhat Kurtulmuş wrote:
> I am trying to learn dlang and decided to develop a regionprops 
> library in pure d (https://github.com/aferust/regionpropsford). 
> I borrowed some code and translated into d for performing 
> routines like connected component labeling and convexhull. The 
> library does not have any dependency except dlang standard 
> library phobos. In theory, the library can be used with any 
> image processing library allowing access to raw image data 
> pointer. I have recently found out that dcv is dead. So, the 
> library uses its own data type (Mat2D!T). Although it has been 
> tested with dlib, you can test it with other libraries such as 
> dcv. I admit that many code were written clumsily, however my 
> test showed that it is fast and safe enough so far.

Nice work Ferhat! Some suggestions:
- Add it to code.dlang.org (I can't find it)
- Add a buildable example on your library code base.
- Publish some pictures on github page to make the result clear :)


More information about the Digitalmars-d-announce mailing list