Closed dafnevk closed 8 years ago
I renamed the function to get_salient_regions_binary
Since the refactoring, we can just test the functionality in BinaryDetector. We have tests for the individual regions, let's write more tests to test the method 'detect' with different combinations of regions.
Write a test that tests the function get_salient_regions in the module binarydetector. We should test the behavior with the default SE. Therefore, we should create 'ground truth' images with the opencv structring elements first. So we have to create these with the elementry python functions first.