Make sure non-zero values are treated as True
Add test case for different dtypes of structuring element
Merge pull request #1 from ahojnnes/thouis-master

Add test case for rank filter fix