tests package

Submodules

tests.context module

Created on Mon Mar 14 13:06:56 2016

@author: dafne

tests.test_binarizers module

class tests.test_binarizers.ThresholdBinarizerTester(methodName='runTest')

Bases: unittest.case.TestCase

Tests for the helper functions related to images

setUp()
test_binarize0()
test_binarize175()
test_binarize255()
test_binarize256()
test_binarize57()
test_binarizeneg1()

tests.test_binary_detector module

Created on Mon Mar 14 13:10:40 2016

@author: dafne

class tests.test_binary_detector.BinaryDetectorTester(methodName='runTest')

Bases: unittest.case.TestCase

Tests for the binary detector

setUp()
test_detect()
test_fill_image_nested()
test_fill_image_noise()
test_holes()
test_holesislands()
test_indentations()
test_islands()
test_protrusions()
test_protsindents()

tests.test_detectors module

class tests.test_detectors.DetectorForTesting(SE_size_factor=0.15, lam_factor=5, area_factor=0.05, connectivity=4)

Bases: salientregions.detectors.Detector

detect()
class tests.test_detectors.SETester(methodName='runTest')

Bases: unittest.case.TestCase

setUp()
test_getSE()
test_getlam()

tests.test_helpers module

Created on Wed Mar 23 16:10:57 2016

@author: elena

class tests.test_helpers.HelpersEllipseTester(methodName='runTest')

Bases: unittest.case.TestCase

Tests for the helper functions related to ellipses

setUp()
test_mask2features_ellipse1()
test_mask2features_ellipse2()
test_mask2features_ellipse3()
test_mask2features_ellipse4()
test_region2ellipse()

Module contents