Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Example for runlength encoding used in JPEG

Status
Not open for further replies.

amith

Member level 2
Joined
Feb 17, 2005
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,560
Hi experts ,

i would like to have an example for runlength encoding used in JPEG, i,e
after zig -zag scan , plz sugest me some sample examples or papers
how it is done .


Thanks
Amith
 

ArjunSC

Member level 1
Joined
Dec 24, 2005
Messages
40
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,669
Re: jpeg

man it is the easiest concept of coding...........you imagine a image.........generally it consists of redundant data. so runlegth coding is used to code it.In runlength coding " a string of zeroes (ones) are sent as a single zeros (ones)and the quantity is coded in a seperate register.

Eg: data is : 00000000011001000100
Runlength coded o/p: 0(9)110010(3)100
 

vamshi

Newbie level 3
Joined
Feb 17, 2005
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,318
Re: jpeg

Hi ,
its like this , assume u r data after zig-zag scan is

-13, -3,6,0,0,2,0,0,0,-1,0,0,0,0,0---

to use RLE it is

-13 is DC
(4) -13= 100 0010

Acs:

(0,2)-3 =0 number of zeros before non-zero coffecitens
-2 length to represent -3 ;

(0,3)6

(2,2) 2

(3,1) -1

(0,0)------EOB
 

smile2dhamu

Newbie level 5
Joined
Sep 10, 2008
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,318
jpeg

is it possible to compres other format image
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top