Coder Social home page Coder Social logo

henryy / tier-1-coding-in-jpeg2000 Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 242 KB

The demo of encoder and decoder in Matlab for EBCOT (Bit plane coder programmed by myself) and MQ coder. The MQ coder Matlab code is from Dr. Xavier Alameda-Pineda (http://xavirema.eu/mq-coder-in-matlab/)

MATLAB 100.00%

tier-1-coding-in-jpeg2000's Introduction

Tier-1-Coding-in-JPEG2000

The demo of encoder and decoder in Matlab for EBCOT (Bit plane coder programmed by myself) and MQ coder. The MQ coder Matlab code is from Dr. Xavier Alameda-Pineda (http://xavirema.eu/mq-coder-in-matlab/)

The demo_for_all.m is to show how to use it.

The input matrix must have a width that can be divided by 4 (in this demo there are two matrices as examples, 44 and 88).

The process is : input >> bit plane encode >> mq encode >> mq decode >> bit palne decode

Input and Output is as follows:

%Call bit plane coder

%Input:Input matrix (must be a matrix that width can be divided by 4).

%Output: Di.txt and CXi.txt

[width,length,P, howManyBlocks] = EncodeBitPlaneCoder(Input,Band_Mark);

%Call MQ coder

%Input: Di.txt and CXi.txt

%Output: mq_encode_i.txt

encode_pointer = mq_encode_main( howManyBlocks );

%Call MQ decoder

%Input: mq_encode_i.txt and CXi.txt

%Output:D_afterMQ_i.txt

mq_decoder_main( howManyBlocks,encode_pointer);

%Call bit plane decoder

%Input:D_afterMQ_i.txt

%Output: Output matrix.

Output = DecodeBitPlaneCoder(width,length, P);

tier-1-coding-in-jpeg2000's People

Contributors

henryy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

shaohuafu

tier-1-coding-in-jpeg2000's Issues

CX_mq_enc used at mq_dec????

I think,to complete mq_dec,only bitstream is needed.
but you used CX_mq_enc ???
location: mq_decoder_main.m line 22

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.