mirror of
https://github.com/dnet/pySSTV.git
synced 2026-01-11 11:10:09 +01:00
Correct color order of Robot 36 mode.
The color sequence for Robot 36 is listed as YCrCb in the SSTV Handbook: http://www.sstv-handbook.com/download/sstv_04.pdf (Table 4.3) and the Dayton Paper: https://web.archive.org/web/20120104184535/http://www.barberdsp.com/files/Dayton%20Paper.pdf
This commit is contained in:
parent
d51c00a04a
commit
824937759e
|
|
@ -90,7 +90,7 @@ class Robot36(ColorSSTV):
|
|||
INTER_CH_FREQS = [None, FREQ_BLACK, FREQ_WHITE]
|
||||
|
||||
def on_init(self):
|
||||
self.yuv = self.image.convert('YCbCr').load()
|
||||
self.yuv = self.image.convert('YCrCb').load()
|
||||
|
||||
def encode_line(self, line):
|
||||
pixels = [self.yuv[col, line] for col in range(self.WIDTH)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue