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

Graphics

 
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 
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 
Hi Carsten,

I have two comments:

1.
the number of colors in the categorization is very limited and they color collection seems
to be predefined. If so, one only needs to determine in which category a picture would fit
best. One way of doing this is by calculating some "error function" for each of the
categories (say the sum over all pixels of the squared deviation between actual pixel
and category color). The main problem remaining is to determine the relevant pixels:
one has to exclude the background, and all zones that are not part of the selectable color
(display, keyboard, whatever).

2.
I am not convinced at all they did it in an automatic way; seems to me if Ipod sleeve
so and so comes in "green" and "blue" according to the manufacturer, they make sure to
have two pictures and add them to the "green" and "blue" category respectively.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


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 
GeneralRe: Catching and Processing GDI+ Exception Pin
Luc Pattyn3-Sep-07 6:23
sitebuilderLuc Pattyn3-Sep-07 6:23 
GeneralRe: Catching and Processing GDI+ Exception Pin
Luc Pattyn3-Sep-07 7:18
sitebuilderLuc Pattyn3-Sep-07 7:18 
GeneralRe: Catching and Processing GDI+ Exception [modified] Pin
ss42a3-Sep-07 7:53
ss42a3-Sep-07 7:53 

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.