Skip to content

An implementation for image (tensor) morphological dilation2d and erosion2d in pytorch

Notifications You must be signed in to change notification settings

lc82111/pytorch_morphological_dilation2d_erosion2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

pytorch morphological dilation2d and erosion2d

An implementation for image (tensor) morphological dilation2d and erosion2d in pytorch

We implement the morpholgical dilation2d erosion2d for 4D input tensor. The implementation uses convolution-like operator torch.nn.unfold().

Ref: [1] A tensorflow implementation. "Morphological Networks for Image De-raining (Ranjan Mondal et al. (2019))" https://github.com/ranjanZ/2D-Morphological-Network
[2] A vector (image is flatten to vector) pytorch implementation "Dense Morphological Networks: An Universal Function Approximator (Mondal et al. (2019))" https://github.com/jlebensold/iclr_2019_buffalo-3

About

An implementation for image (tensor) morphological dilation2d and erosion2d in pytorch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages