NLeSC / LargeScaleImaging

Data, Software,Results and Publications for the Large Scale Imaging research @ NLeSc
Apache License 2.0
3 stars 0 forks source link

write test for function get_salient_regions #13

Closed dafnevk closed 8 years ago

dafnevk commented 8 years ago

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.

dafnevk commented 8 years ago

I renamed the function to get_salient_regions_binary

dafnevk commented 8 years ago

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.