Skip to content
Snippets Groups Projects
Commit 11630116 authored by Paolo Veglio's avatar Paolo Veglio
Browse files

starting to clean up

parent 4a568887
No related branches found
No related tags found
No related merge requests found
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)
#
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment