Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > image compression using golomb-rice algorithm

Reply
Thread Tools

image compression using golomb-rice algorithm

 
 
gokuldeep gokuldeep is offline
Junior Member
Join Date: Mar 2013
Posts: 1
 
      03-29-2013
plz help me
my project is image compression using gr algorithm any one have plz help me equalent vhdl code give me....and also attach the c code for my project one part for gr c code.
plz help me ............i am so help less sir,,,,,,,,,,, this is my carrier ....................
my c code is
c code for unarry
Encoding:
UnaryEncode(n) {
while (n > 0) {
WriteBit(1);
n--;
}
WriteBit(0);
}


Decoding: UnaryDecode() {
n = 0;
while (ReadBit(1) == 1) {
n++;
}
return n;
}
c code for golomb-rice

Encoding:
GolombEncode(n, RBits) {
q = n >> RBits;
UnaryCode(q);
WriteBits(n, RBits);
}
decoding:
GolombDecode(RBits) {
q = UnaryDecode();
n = (q << RBits) + ReadBits(RBits);
return n;
}
 

Last edited by gokuldeep; 03-29-2013 at 01:49 PM..
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Compression using DCT algorithm C++ source code khaleel.alyasini@gmail.com C++ 1 02-28-2006 09:04 PM
The Zeus Compression Algorithm dunric@yahoo.com C Programming 17 01-04-2006 05:27 AM
Description of the ART Image Compression Algorithm? Richard Ballard Digital Photography 10 07-20-2004 06:17 PM
compression algorithm in memory Howie C++ 1 03-04-2004 05:02 PM
Kodak DX 4530 Compression Algorithm Question Glenn Nelson Digital Photography 4 09-24-2003 10:04 PM



Advertisments