Skip to content

codecKIT vuong

Dr. - Ing. The Anh Vuong edited this page Mar 30, 2021 · 3 revisions

codecKIT-vuong

Beschreibung

Demo- für die Codierung eines Bilders aus JPEG mit OPencv -Der Vorgang wird visulaisieren -Die Spektrum wird berechnet -Die Matrix des Spektrum wird gefiltert, blockgrosse nbit

  • Reconstruierte Bild wird berechent
  • Alle Verarbeitungsschritten: Blocks, voll Bild als Jpg- file gepeichert, zu Visualisieren

Methodik:

  • Systolic Methode: block zu block weiter verschieben und bearbeitet.
  • Object Orientierte Programming

Commandos

input file is defined in config.py

output files are definde in config.py

python codecKIT-vuong.py

Input Block-length --> numberBlock

Input 2D Lowpass length ---> nbit (Lowpass-example : Lowpass nbit * nbit of spectrals, rest set to o)

blocks: ouput-folder with png-files for blocks

modus P =Process : Blocks generate, DCT and Idct to reconstruction:

  • blocks/ images blocks (*.png)
  • spect/ spect- blocks (*.png)
  • filter/ filter- blocks (*.png)
  • recon/ recon- blocks (*.png)
  • img_out / movieori.gif file of image blocks
  • moviespect.gif file of spect blocks
  • moviefilter.gif file of filter blocks
  • movierecont.gif file of recont blocks
  • spectNN.jpg spec-blocks in ful-images
  • filterNN.jpg filter of spec-blocks in ful-images
  • reconNN.jpg reconstruction images

modus G= Blocks : Blocks generate

  • blocks/ images blocks (*.png)
  • img_out / movieori.gif file of blocks

modus M= Mini Block in Image : Blocks in big Image generate

  • blocks/ images blocks (*.png) but mappinfg in big images
  • img_out / movieori-map.gif file of blocks

Notice:

Entwickler: dont push your processed Data to GIT

In GIT Example for datacompression by 6464 Image, block: 1616, lowpass_Filter 4*4

Status:

  • Beispiel Frame Work für block-codierung
  • Status: Entwicklung
  • Author Dr.-Ing. The Anh Vuong
Clone this wiki locally