-
Notifications
You must be signed in to change notification settings - Fork 1
codecKIT vuong
Dr. - Ing. The Anh Vuong edited this page Mar 30, 2021
·
3 revisions
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
- Systolic Methode: block zu block weiter verschieben und bearbeitet.
- Object Orientierte Programming
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
Entwickler: dont push your processed Data to GIT
In GIT Example for datacompression by 6464 Image, block: 1616, lowpass_Filter 4*4
- Beispiel Frame Work für block-codierung
- Status: Entwicklung
- Author Dr.-Ing. The Anh Vuong