1
0
Fork 0

Fixed inverted colour channels

master
colaclanth 2019-07-16 07:37:32 +01:00
parent 11fd150e07
commit 1076f86537
2 changed files with 3 additions and 3 deletions

View File

@ -307,8 +307,8 @@ class SSTVDecoder(object):
image_data[y][1][x])
elif self.mode.COLOR == spec.COL_FMT.YUV:
pixel = (image_data[y][0][x],
image_data[y-odd_line][1][x],
image_data[y-(odd_line-1)][1][x])
image_data[y-(odd_line-1)][1][x],
image_data[y-odd_line][1][x])
else:
pixel = (image_data[y][0][x],
image_data[y][1][x],

View File

@ -87,7 +87,7 @@ class R36(object):
LINE_TIME = CHAN_OFFSETS[1] + MERGE_SCAN_TIME
PIXEL_TIME = SCAN_TIME / LINE_WIDTH
MERGE_PIXEL_TIME = MERGE_SCAN_TIME / LINE_WIDTH
WINDOW_FACTOR = 7.83
WINDOW_FACTOR = 7.70
HAS_START_SYNC = False
HAS_MERGE_SCAN = True