Ciff image codec evaluation




Дата канвертавання24.04.2016
Памер9.43 Kb.
CIFF IMAGE CODEC EVALUATION
Please form the IMAGE test folder, copy IMAGE.zip file into that folder and extract all files from CIFF image compression / decompression evaluation kit IMAGE.zip comprising the following files:
CIFF.exe - Command line I-frame CIFF codec executable for lossy and lossless compression

and decompression of BMP image and YUV video (usage help: ciff).

CIFF.exe writes the encoding (compression) time in the appendable file encode.txt.

CIFF.exe writes the decoding (decompression) time in the appendable file decode.txt.


available in two forms as:

CIFFmicrosoft.exe (compiled by Microsoft Visual Studio compiler)

CIFFintel.exe (compiled by Intel compiler - should run faster than CIFFmicrosoft.exe)
IMPORTANT: Before launching batch procedures, please copy either CIFFmicrosoft.exe or

CIFFintel.exe into CIFF.exe.


bmpcmp.exe - BMP file comparison executable used after lossless decompression

(usage: bmpcmp first_filename_with_bmp second_filename_with_bmp).

Please notice that some BMP files have wrong parameters in the header,

while CIFF writes correct parameters in the header, so simple file comparison will

provide a few different bytes in these headers, both displayed by bmpcmp.exe.
psnr.exe - BMP and YUV video PSNR executable, which provides 99.99 dB instead of infinity

after lossless decompression. It also writes total PSNR in the appendable file psnr.txt.

(usage: psnr first_filename_with_bmp second_filename_with_bmp).
ratio.exe - BMP and YUV video file size ratio executable

(usage: image_filename_with_bmp compressed_filename_with_cif).

ratio.exe writes ratios between CIF file and BMP file in the appendable file ratio.txt.
i.bat - Main batch procedure to run, calling the appropriate batch procedures for each image (usage: i).

Please edit this batch procedure and add all your BMP images by calling ic batch procedure for

24-bit color images and ig batch procedure for 8-bit grayscale images, like in the provided

example.
ic.bat - Color Compression / Decompression (CCD) batch procedure

(usage: ic image_filename_without_bmp).

ic.bat first performs mathematically lossless CCD with icll.bat and then 4 lossy CCD

with icq.bat and 4 different quality factors: 1000, 500, 250 and 125.

Internal quality factor can be between 1 and 3999.

The encoding times are saved in image_filename_without_bmp_ciff_encode.txt file.

The decoding times are saved in image_filename_without_bmp_ciff_decode.txt file.

The filesize ratios between CIF file and BMP file are saved in

image_filename_without_bmp_ciff_ratio.txt file.

The PSNRs are saved in image_filename_without_bmp_ciff_psnr.txt file.

icll.bat - Mathematically lossless CCD batch procedure with ratio, PSNR and BMP comparison

(usage: icll image_filename_without_bmp arbitrary_identification_number).
icq.bat - Lossy CCD batch procedure with ratio and PSNR calculation

(usage: icq image_filename_without_bmp arbitrary_identification_number quality_factor).


ig.bat - Grayscale Compression / Decompression (GCD) batch procedure

(usage: ig image_filename_without_bmp).

ig.bat first performs mathematically lossless GCD with igll.bat and then 4 lossy GCD

with igq.bat and 4 different quality factors: 1000, 500, 250 and 125.

Internal quality factor can be between 1 and 3999.

The encoding times are saved in image_filename_without_bmp_ciff_encode.txt file.

The decoding times are saved in image_filename_without_bmp_ciff_decode.txt file.

The filesize ratios between cif file and bmp file are saved in

image_filename_without_bmp_ciff_ratio.txt file.

The PSNRs are saved in image_filename_without_bmp_ciff_psnr.txt file.


igll.bat - Mathematically lossless GCD batch procedure with ratio, PSNR and BMP comparison

(usage: igll image_filename_without_bmp arbitrary_identification_number).


igq.bat - Lossy GCD batch procedure with ratio and PSNR calculation

(usage: igq image_filename_without_bmp arbitrary_identification_number quality_factor).


In case of any doubts or questions, please do not hesitate to contact me using the list of my contacts provided below.
Prof. dr. Milan Prokin

Tel: +381-11-3016-595 (home)

Tel: +381-11-3016-596 (home)

Tel: +381-11-3188-749 (home)

Mob: +381-64-455-7702 (EU cell)

Mob: +1-310-880-9030 (US cell, while in USA)

E-mail: proka@el.etf.rs (automatically forwarded to milan.prokin@gmail.com)

E-mail: milan.prokin@gmail.com



Google Talk name: milan.prokin

Skype name: milan.prokin


База данных защищена авторским правом ©shkola.of.by 2016
звярнуцца да адміністрацыі

    Галоўная старонка