Solved

how to code?

Posted on 1998-09-30
13
234 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to align numbers in C using the %d 2 119
First character of input string truncated with scanf 3 117
Passing command line arguments in C 10 103
gdb doesn't stop on breakpoint 2 140
Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

739 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