DIVA-DIA / DIVA-DAF

Repository for the deep-learning framework DIVA-DAF which is build with historical document image analysis in mind.
https://diva-dia.github.io/DIVA-DAF/
MIT License
18 stars 2 forks source link

Morphological as transformation #175

Closed lvoegtlin closed 4 months ago

lvoegtlin commented 4 months ago

Is your feature request related to a problem? Please describe. Implement the morphological filter (relation and erosion) as described in the paper.

Describe the solution you'd like Create a transformation that creates the morphological images of a codex image. Delation and erosion can be used directly form PyTorch (https://stackoverflow.com/questions/56235733/is-there-a-tensor-operation-or-function-in-pytorch-that-works-like-cv2-dilate). To get the class we can continue with the target class.

Checklist