Click here to Skip to main content
16,016,088 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Algorithm to check how different are two files? Pin
cp98769-Oct-07 22:56
cp98769-Oct-07 22:56 
GeneralRe: Algorithm to check how different are two files? Pin
bosfan9-Oct-07 23:18
bosfan9-Oct-07 23:18 
AnswerRe: Algorithm to check how different are two files? Pin
ScottM111-Oct-07 2:07
ScottM111-Oct-07 2:07 
GeneralRe: Algorithm to check how different are two files? Pin
ChandraRam11-Oct-07 2:25
ChandraRam11-Oct-07 2:25 
GeneralRe: Algorithm to check how different are two files? Pin
ScottM124-Oct-07 3:59
ScottM124-Oct-07 3:59 
AnswerRe: Algorithm to check how different are two files? Pin
chandu00413-Oct-07 0:30
chandu00413-Oct-07 0:30 
AnswerRe: Algorithm to check how different are two files? Pin
Gesown16-Oct-07 6:20
professionalGesown16-Oct-07 6:20 
Questiongenetic algorithms for image generation? Pin
Juraj Borza9-Oct-07 9:56
Juraj Borza9-Oct-07 9:56 
Hello, I have considered doing following project:

Imagine that you have simple graphics (like some schematics, logo, etc). I'd like to investigate some other approaches to saving the image like traditional bitmap/vector files.

It would use some kind of advanced algorithms to generate set of graphical operations (draw line/shape/curve, fill shape, draw text somewhere) that would be drawn to some bitmap. The program would then evaluate how much the generated image look like the original (like fitness function in GA), I mean, evaluate many solutions, find the best ones, combine/mutate them in some way to produce better results in the next generation.

It would not be saving the image in the true sense of word, it would be more like finding algorithm on how to recreate it with the best precision using elementary graphical operations. Maybe it would be useless, maybe not.

My question is, *how* should I start? I read something on the topic of genetic algorithms, but most of the articles dealt with using binary string (genes) for representing the operations (but wouldn't it be too long to encode many (tens, hundreds) graphical operations with parameters?) I mean, if we had about hundred operations (8-bit identifier) with average of four 16-bit parameters, it would be about 100*8+100*4*16=7200 bits of information to combine, mutate and eventually, evaluate.

I know it will be painfully slow, to have some kind of fitness evaluation function that would need to draw image from the "genes", but this would be a research project. I am just wondering if something like this is possible (I think it could be), and if yes, someone could please point me in the right direction to start.

thanks,
Juraj
AnswerRe: genetic algorithms for image generation? Pin
Stan F. Form13-Oct-07 3:16
Stan F. Form13-Oct-07 3:16 
AnswerRe: genetic algorithms for image generation? Pin
Marshall15-Oct-07 9:26
Marshall15-Oct-07 9:26 
AnswerRe: genetic algorithms for image generation? Pin
Alan Balkany24-Oct-07 4:24
Alan Balkany24-Oct-07 4:24 
QuestionA simple question Pin
Ennis Ray Lynch, Jr.9-Oct-07 3:53
Ennis Ray Lynch, Jr.9-Oct-07 3:53 
AnswerRe: A simple question Pin
El Corazon9-Oct-07 4:47
El Corazon9-Oct-07 4:47 
GeneralRe: A simple question Pin
Ennis Ray Lynch, Jr.9-Oct-07 5:23
Ennis Ray Lynch, Jr.9-Oct-07 5:23 
GeneralRe: A simple question Pin
El Corazon9-Oct-07 5:25
El Corazon9-Oct-07 5:25 
GeneralThus my question Pin
Ennis Ray Lynch, Jr.9-Oct-07 7:11
Ennis Ray Lynch, Jr.9-Oct-07 7:11 
GeneralRe: Thus my question Pin
El Corazon9-Oct-07 7:39
El Corazon9-Oct-07 7:39 
GeneralUnfortunately Pin
Ennis Ray Lynch, Jr.9-Oct-07 8:41
Ennis Ray Lynch, Jr.9-Oct-07 8:41 
GeneralRe: Unfortunately Pin
El Corazon9-Oct-07 9:38
El Corazon9-Oct-07 9:38 
GeneralRe: Unfortunately Pin
Ennis Ray Lynch, Jr.9-Oct-07 10:00
Ennis Ray Lynch, Jr.9-Oct-07 10:00 
GeneralRe: Unfortunately Pin
El Corazon9-Oct-07 10:06
El Corazon9-Oct-07 10:06 
AnswerRe: A simple question Pin
chandu00423-Oct-07 22:13
chandu00423-Oct-07 22:13 
GeneralRe: A simple question Pin
Dan Neely24-Oct-07 2:11
Dan Neely24-Oct-07 2:11 
QuestionFormula to calculate Equal Monthly Payments Pin
Vtoria8-Oct-07 7:33
Vtoria8-Oct-07 7:33 
AnswerRe: Formula to calculate Equal Monthly Payments Pin
chandu0048-Oct-07 22:15
chandu0048-Oct-07 22:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.