Skip to content
Snippets Groups Projects
temp.py 626 B
Newer Older
class Tests:

    def __init__(self, scene_type):
        self.scene = scene_type

    def select_thresholds(self, thresholds):
        return thresholds[self.scene]

    def select_pixels(self):
        idx = [0, 1, 2, 3]
        return idx

    def run_tests(self):
        pass


def all_tests():
    T1()
    T2()
    T3()
    T4()


def T1(scene):
    if scene not in ['1', '2', '3']:
        return 0
    else:
        confidence = 0
        return confidence

# Ocean Day
# T1, T2, T4

# Ocean Night
# T1, T3, T4

# Example usage:
#
# ocean_day = Tests('Ocean_Day')
# thresh = ocean_day.select_thresholds(thresholds)
#