Click here to Skip to main content
15,881,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: sprintf Pin
Tim Craig23-Nov-09 18:31
Tim Craig23-Nov-09 18:31 
QuestionCreate HDC from n image file? Pin
o m n i23-Nov-09 10:30
o m n i23-Nov-09 10:30 
AnswerRe: Create HDC from n image file? Pin
Richard MacCutchan23-Nov-09 12:25
mveRichard MacCutchan23-Nov-09 12:25 
QuestionPicture control with more than 256 colors in VC6 Dialog? Pin
Erik23-Nov-09 8:06
Erik23-Nov-09 8:06 
AnswerRe: Picture control with more than 256 colors in VC6 Dialog? Pin
«_Superman_»23-Nov-09 8:38
professional«_Superman_»23-Nov-09 8:38 
Questioncompare images Pin
franckesh23-Nov-09 6:55
franckesh23-Nov-09 6:55 
AnswerRe: compare images Pin
Tim Craig23-Nov-09 9:35
Tim Craig23-Nov-09 9:35 
AnswerRe: compare images Pin
Rozis23-Nov-09 11:32
Rozis23-Nov-09 11:32 
Maybe a strange tip:

Take a picture (1) and make a copy (2) of it. Now put the picture and the copy in a zip. Write down the filesize of the zip. Nex,t take another picture (3) and put it together with the original (1) into a second zip. Write down the filesize of the 2nd zip. Continue this till all pictures are put in zips. If you have 10 pictures you will have now 10 zips. Sort the zips to filesize. The zip containing your original (1) and its copy will have the smallest filesize. The next zip will contain that picture that resembles the original the most. And so on.

How this works: Zip searches for duplicate bitpatterns (this is how compression works). In the smallest zip it finds the most (coz their are 2 identical pics). The picture that resembles the first one the most is the one that has a little less duplicate bitpatterns (it compresses slightly worse). The filesize of the zip is an indicator of the resemblance.

Note: You will have to create zips for all the combinations...

The theory behind: Colmogorov complexities...

If you try this solution i would be pleased if you keep me informed of you results.

Rozis
GeneralRe: compare images Pin
franckesh25-Nov-09 0:33
franckesh25-Nov-09 0:33 
QuestionIBM -> IEEE Pin
Russell'23-Nov-09 4:52
Russell'23-Nov-09 4:52 
QuestionWinDBG: How to locate a symbol in code segment Pin
krishiyengar23-Nov-09 4:51
krishiyengar23-Nov-09 4:51 
AnswerRe: WinDBG: How to locate a symbol in code segment Pin
«_Superman_»23-Nov-09 5:45
professional«_Superman_»23-Nov-09 5:45 
QuestionCalling another execuatbles from windows service??? Pin
jain_MS23-Nov-09 3:24
jain_MS23-Nov-09 3:24 
AnswerRe: Calling another execuatbles from windows service??? Pin
Rajesh R Subramanian23-Nov-09 3:31
professionalRajesh R Subramanian23-Nov-09 3:31 
GeneralRe: Calling another execuatbles from windows service??? Pin
jain_MS23-Nov-09 3:59
jain_MS23-Nov-09 3:59 
GeneralRe: Calling another execuatbles from windows service??? Pin
Rajesh R Subramanian23-Nov-09 6:25
professionalRajesh R Subramanian23-Nov-09 6:25 
GeneralRe: Calling another execuatbles from windows service??? Pin
jain_MS23-Nov-09 7:07
jain_MS23-Nov-09 7:07 
QuestionBatch file Pin
john563223-Nov-09 3:02
john563223-Nov-09 3:02 
AnswerRe: Batch file Pin
Richard MacCutchan23-Nov-09 3:25
mveRichard MacCutchan23-Nov-09 3:25 
AnswerRe: Batch file Pin
T210223-Nov-09 3:46
T210223-Nov-09 3:46 
QuestionLinking Error Pin
john563223-Nov-09 2:24
john563223-Nov-09 2:24 
AnswerRe: Linking Error Pin
kikoso23-Nov-09 2:43
kikoso23-Nov-09 2:43 
GeneralRe: Linking Error Pin
john563223-Nov-09 3:01
john563223-Nov-09 3:01 
GeneralRe: Linking Error Pin
kikoso23-Nov-09 5:16
kikoso23-Nov-09 5:16 
QuestionProblem with Win32 Threads Pin
kikoso23-Nov-09 2:13
kikoso23-Nov-09 2:13 

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.