Skip to content
Snippets Groups Projects
Name Last commit Last update
dat
gnuradio
images
README.md
bit2image.py
image2bit.py

COMINA - COMUNICACIONES INALAMBRICAS

iie-fing-udelar

LABORATORIO INTEGRADOR

Dependencias Python:

  • Python 3
  • Pillow (Python Imaging Library)
  • Numpy

En linux, Pillow se puede instalar mediante pip:

pip install Pillow

image2bit

Convierte la imagen que se encuentra en images/image.png, a una secuencia de bytes (uint8). El archivo image_bin.dat generado se encuentra en la carpeta dat/.

En terminal hacer: python image2bit.py

bit2image

Convierte un .dat en una o varias imágenes y calculas el PSNR.

En terminal hacer: python bit2image.py