diff --git a/bit2image.py b/bit2image.py index e7b78b7bd96c2e612cba85c344d000019313fb8f..08a620c18e47f187021d08d5a1d093bc735c5770 100644 --- a/bit2image.py +++ b/bit2image.py @@ -25,7 +25,7 @@ from PIL import Image import numpy as np import math -filename_bin = 'dat/recepcion_2.dat' +filename_bin = 'dat/recepcion.dat' img_height = 800 img_width = 549 sync_start = [0,128,255]*10 diff --git a/image2bit.py b/image2bit.py index 941b254ccdc6583d4a25ec9ff7c5273a40886c45..b98964e1cd790804aeacce24fc487d7b4870b4ef 100644 --- a/image2bit.py +++ b/image2bit.py @@ -1,3 +1,26 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2019 +# Author: Gonzalo Belcredi, gbelcredi@fing.edu.uy +# Instituto de Ingenieria Electrica, Facultad de Ingenieria, +# Universidad de la Republica, Uruguay. +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + from PIL import Image import numpy as np