Solved

how to code?

Posted on 1998-09-30
13
211 Views
Last Modified: 2010-04-15
Hi,
  I got an algorithm by using modified run length coding to compress bit map image.  But I don't know how to code is by using 'C', can anyone help? (I understand the RLE algorithm already but here is a variant of that.  I want to see its performance on image compression but I don't know how to code it by using "C")  (Pls e-mail me!)
thanks
Alex
0
Comment
Question by:gorexy
13 Comments
 
LVL 3

Expert Comment

by:arnond
ID: 1253136
post your algorithm and maybe someone will be able to help you...
0
 

Author Comment

by:gorexy
ID: 1253137
Edited text of question
0
 

Author Comment

by:gorexy
ID: 1253138
Edited text of question
0
 

Author Comment

by:gorexy
ID: 1253139
I prefer to give my algorithm through e-mail.
(sorry!)
0
 
LVL 3

Expert Comment

by:arnond
ID: 1253140
OK,
sarnon@t2.technion.ac.il
0
 

Author Comment

by:gorexy
ID: 1253141
Edited text of question
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 1

Expert Comment

by:Grailman
ID: 1253142
C/C++ Users Journal has an article on Random Access Data Compression at:

http://www.cuj.com/archive/1509/index.html

You might take a look.
0
 
LVL 1

Expert Comment

by:Staplehead
ID: 1253143
Alex,

Are you looking to understand the algorithm, or are you looking to port it to another language?

If you're just looking to understand the algorithm, RLE isn't that hard to comprehend, and there are (i'd assume) many texts out there which describe it.  (i could go back to my bookshelf tonight and pull a reference or two..)

Larry
0
 

Author Comment

by:gorexy
ID: 1253144
Edited text of question
0
 
LVL 84

Expert Comment

by:ozo
ID: 1253145
What's the variant?
What sort of images?
0
 
LVL 8

Expert Comment

by:Answers2000
ID: 1253146
Bitmap Graphics books by Steve Rimmer have nice C sample code for most file formats (I used to have the Bitmap Graphics book which is DOS, but the newer Windows version looked pretty similar in the book shop).

He writes well to.

Go to www.amazon.com

Search for "Steve Rimmer"

You'll get a list of his books.

Buy one of the bitmapped graphics book.  As I don't know if you're DOS or Windows (or something else), you'll have to pick the most appropriate version of his book.

As I said code is C (at least in the DOS book) and easy to understand
0
 
LVL 4

Expert Comment

by:emmons
ID: 1253147
Gorexy, are you looking for some one to send you email and volunteer to code your algorithm?
It seems like you are saying that you have a varient of the standard RLE encoding algorithm that you would like to benchmark, but you do not know how to implement it in C.
Is this a fair assesment of your question?
0
 
LVL 2

Accepted Solution

by:
pjmaze earned 100 total points
ID: 1253148
Hi,

I dont know what variant you are talking about, but go to this URL http://www.dc.ee/Files/Programm.Packing
and you will find some source code in C that implements several RLE !!

All the best ...
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now