Click here to Skip to main content
15,921,660 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: How can I fetch resources from Uncharted Waters 4? Pin
Pete O'Hanlon14-Sep-07 10:26
mvePete O'Hanlon14-Sep-07 10:26 
QuestionSemi automatic forground video segmentation Pin
ptr_Electron12-Sep-07 0:23
ptr_Electron12-Sep-07 0:23 
AnswerRe: Semi automatic forground video segmentation Pin
El Corazon12-Sep-07 7:01
El Corazon12-Sep-07 7:01 
QuestionPNG Alpha blending/channel in VC++ 6.0? Pin
StarMeteor10-Sep-07 21:00
StarMeteor10-Sep-07 21:00 
QuestionMost common used color in an image? Pin
mm-2k10-Sep-07 7:11
mm-2k10-Sep-07 7:11 
AnswerRe: Most common used color in an image? Pin
Russell'10-Sep-07 8:06
Russell'10-Sep-07 8:06 
GeneralRe: Most common used color in an image? Pin
mm-2k10-Sep-07 8:09
mm-2k10-Sep-07 8:09 
GeneralRe: Most common used color in an image? Pin
Russell'10-Sep-07 8:44
Russell'10-Sep-07 8:44 
a simple example for "Histogram":
* convert the image in RGB (same if HSV)
* find min and max value for R ,G ,B in all the image
* quantize (for example using 50 slices per color) the range of values in that min-max interval (for every 3 colors, so you will fix 50x50x50 cubes/volumes)
* then look to the pixel of the image and count how many time a color fall in a cube
* when finished the cube with the greater number of pixel inside is the color that you are seraching

*eleway you can analise separately R, G and B. In this way you will have 50+50+50 linear intervals, not volumes.
Smile | :)


Russell

AnswerRe: Most common used color in an image? Pin
Luc Pattyn10-Sep-07 10:11
sitebuilderLuc Pattyn10-Sep-07 10:11 
GeneralRe: Most common used color in an image? Pin
mm-2k10-Sep-07 10:17
mm-2k10-Sep-07 10:17 
GeneralRe: Most common used color in an image? Pin
Luc Pattyn10-Sep-07 10:52
sitebuilderLuc Pattyn10-Sep-07 10:52 
GeneralRe: Most common used color in an image? Pin
mm-2k10-Sep-07 19:21
mm-2k10-Sep-07 19:21 
AnswerRe: Most common used color in an image? Pin
El Corazon11-Sep-07 3:36
El Corazon11-Sep-07 3:36 
AnswerRe: Most common used color in an image? Pin
Chris Losinger26-Sep-07 5:19
professionalChris Losinger26-Sep-07 5:19 
Questionold unix gl mook mosies over to VS 8 beta 2 Pin
dr d b karron6-Sep-07 11:32
dr d b karron6-Sep-07 11:32 
AnswerRe: old unix gl mook mosies over to VS 8 beta 2 Pin
El Corazon8-Sep-07 5:19
El Corazon8-Sep-07 5:19 
QuestionImange Manipluation with Asp.Net Pin
Mustakim Mansuri5-Sep-07 19:43
Mustakim Mansuri5-Sep-07 19:43 
QuestionTextureLoader - InvalidOperationException Pin
Katerinochka4-Sep-07 5:52
Katerinochka4-Sep-07 5:52 
Questiondisplay driver Pin
amit.code3-Sep-07 22:46
amit.code3-Sep-07 22:46 
AnswerRe: display driver Pin
Christian Graus4-Sep-07 4:23
protectorChristian Graus4-Sep-07 4:23 
QuestionGraphics for Unix in C++ Pin
MartyExodus3-Sep-07 11:54
MartyExodus3-Sep-07 11:54 
AnswerRe: Graphics for Unix in C++ Pin
El Corazon4-Sep-07 4:02
El Corazon4-Sep-07 4:02 
QuestionCatching and Processing GDI+ Exception Pin
ss42a3-Sep-07 5:34
ss42a3-Sep-07 5:34 
AnswerRe: Catching and Processing GDI+ Exception Pin
Luc Pattyn3-Sep-07 6:00
sitebuilderLuc Pattyn3-Sep-07 6:00 
GeneralRe: Catching and Processing GDI+ Exception Pin
ss42a3-Sep-07 6:11
ss42a3-Sep-07 6:11 

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.