cs-util-com / cscore

cscore is a minimal-footprint library providing commonly used helpers & patterns for your C# projects. It can be used in both pure C# and Unity projects.
https://cs-util-com.github.io/cscore/
Apache License 2.0
183 stars 31 forks source link

Feature/110 image algos #128

Closed NicoWalheim closed 6 months ago

NicoWalheim commented 6 months ago

Added the guided filter implementation and completed the global matting implementation as given in the original C++ code and Added respective tests. Furthermore, added CutOutGeneration as showcase how the alpha matting can be used to generate a cutout from a DallE generated image. Added functionality needed to generate trimaps from flood filling an image for this example. Added Mat class, which was our try to implement the CV Mat class. Despite some performance functionality it did not perform up to what we would have liked it to, so currently everything still directly works on the byte array.


This change is Reviewable