Click here to Skip to main content
15,928,983 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Passing compiler falgs /Preprocessors from the command line Pin
jhwurmbach27-Aug-07 6:46
jhwurmbach27-Aug-07 6:46 
GeneralRe: Passing compiler falgs /Preprocessors from the command line Pin
Mohamed Douffir27-Aug-07 7:11
Mohamed Douffir27-Aug-07 7:11 
GeneralRe: Passing compiler falgs /Preprocessors from the command line Pin
jhwurmbach27-Aug-07 7:18
jhwurmbach27-Aug-07 7:18 
AnswerRe: Passing compiler falgs /Preprocessors from the command line Pin
David Crow27-Aug-07 7:15
David Crow27-Aug-07 7:15 
QuestionHelp needed related to Genetic algorithm in image recognition Pin
rayluee27-Aug-07 5:49
rayluee27-Aug-07 5:49 
AnswerRe: Help needed related to Genetic algorithm in image recognition Pin
jhwurmbach27-Aug-07 6:01
jhwurmbach27-Aug-07 6:01 
GeneralRe: Help needed related to Genetic algorithm in image recognition Pin
rayluee27-Aug-07 6:54
rayluee27-Aug-07 6:54 
GeneralRe: Help needed related to Genetic algorithm in image recognition Pin
jhwurmbach27-Aug-07 7:08
jhwurmbach27-Aug-07 7:08 
rayluee wrote:
How will you approach to this situation to get the suitable fitness function?


Actually, when I was teached GA, I was told to find out a fitness-function beforehand.
When a fitness function would "spring to mind", would be fast and "naturally" to find, the problem would be well suited to a GA.
If not, one might force it, but probably the GA would ever be suboptimal.

For your problem of transforming pictures, do you have a "solution space" with many dimensions?
Probably: each pixel is a dimension.
Your fitness function would involve computing some sort of a difference of the pictures, where a minimal difference would be best.

So each individual would consist of a set of pixel manipulations done on pic1, and you would then calculate the difference between the manipulated picture and pic2.
But whether that can be done fast?!?
Also, I have no idea if "crossover" would be sensible in this context.

</Brainstorming>
I hope to have given you something to start thinking.



Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening words

QuestionHow do you traverse, or loop through the controls Pin
littleGreenDude27-Aug-07 5:35
littleGreenDude27-Aug-07 5:35 
AnswerRe: How do you traverse, or loop through the controls Pin
led mike27-Aug-07 5:42
led mike27-Aug-07 5:42 
GeneralRe: How do you traverse, or loop through the controls Pin
littleGreenDude27-Aug-07 5:57
littleGreenDude27-Aug-07 5:57 
GeneralRe: How do you traverse, or loop through the controls Pin
led mike27-Aug-07 6:36
led mike27-Aug-07 6:36 
AnswerRe: How do you traverse, or loop through the controls Pin
jhwurmbach27-Aug-07 5:49
jhwurmbach27-Aug-07 5:49 
GeneralRe: How do you traverse, or loop through the controls Pin
littleGreenDude27-Aug-07 6:05
littleGreenDude27-Aug-07 6:05 
QuestionRe: How do you traverse, or loop through the controls Pin
David Crow27-Aug-07 6:01
David Crow27-Aug-07 6:01 
AnswerRe: How do you traverse, or loop through the controls Pin
littleGreenDude27-Aug-07 6:09
littleGreenDude27-Aug-07 6:09 
QuestionRe: How do you traverse, or loop through the controls Pin
David Crow27-Aug-07 6:18
David Crow27-Aug-07 6:18 
AnswerRe: How do you traverse, or loop through the controls Pin
littleGreenDude27-Aug-07 7:48
littleGreenDude27-Aug-07 7:48 
GeneralRe: How do you traverse, or loop through the controls Pin
David Crow27-Aug-07 8:25
David Crow27-Aug-07 8:25 
AnswerRe: How do you traverse, or loop through the controls Pin
Stephen Hewitt27-Aug-07 18:32
Stephen Hewitt27-Aug-07 18:32 
QuestionPDA communication Pin
Waldermort27-Aug-07 5:34
Waldermort27-Aug-07 5:34 
GeneralRe: PDA communication Pin
Matthew Faithfull27-Aug-07 8:04
Matthew Faithfull27-Aug-07 8:04 
Questionpointer on char array Pin
baerten27-Aug-07 3:35
baerten27-Aug-07 3:35 
AnswerRe: pointer on char array Pin
David Crow27-Aug-07 3:41
David Crow27-Aug-07 3:41 
GeneralRe: pointer on char array Pin
baerten27-Aug-07 4:03
baerten27-Aug-07 4:03 

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.