Click here to Skip to main content
15,925,602 members
Home / Discussions / Graphics
   

Graphics

 
QuestionGDI+ Region::IsVisible() Pin
Mark Salsbery2-Mar-07 8:23
Mark Salsbery2-Mar-07 8:23 
AnswerRe: GDI+ Region::IsVisible() Pin
cmk2-Mar-07 10:44
cmk2-Mar-07 10:44 
GeneralRe: GDI+ Region::IsVisible() Pin
Mark Salsbery2-Mar-07 10:49
Mark Salsbery2-Mar-07 10:49 
GeneralRe: GDI+ Region::IsVisible() Pin
cmk2-Mar-07 10:56
cmk2-Mar-07 10:56 
GeneralRe: GDI+ Region::IsVisible() Pin
Mark Salsbery2-Mar-07 11:08
Mark Salsbery2-Mar-07 11:08 
QuestionHow can I find the exact colors of a grayscaled picture? Pin
JUNEYT1-Mar-07 9:16
JUNEYT1-Mar-07 9:16 
AnswerRe: How can I find the exact colors of a grayscaled picture? Pin
Mark Salsbery1-Mar-07 9:28
Mark Salsbery1-Mar-07 9:28 
AnswerRe: How can I find the exact colors of a grayscaled picture? Pin
El Corazon1-Mar-07 10:20
El Corazon1-Mar-07 10:20 
JUNEYT wrote:
All I need is an accurate advise or direction how to setup an algorithm to find the exact colors of the picture.


there is no way to find the "exact color" of pixel from panchromatic (greyscale). The primary issue is that panchromatic is usually luminance which follows a ration of RGB light there will usually be more than 1 color value triplet to match each pancromatic pixel.

you are trying to reverse this formula: RGB Luminance value = 0.3 R + 0.59 G + 0.11 B

so if the luminance value is say 255 (bright white luminance) what is the values of R G and B? If you know the most prominant color, a color reference, then you can figure out from the ratios the others involved.

Colorizing Panchromatic from low-resolution color reference[^]

_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
Mark Salsbery1-Mar-07 11:27
Mark Salsbery1-Mar-07 11:27 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
El Corazon1-Mar-07 11:58
El Corazon1-Mar-07 11:58 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
Mark Salsbery1-Mar-07 12:02
Mark Salsbery1-Mar-07 12:02 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
El Corazon1-Mar-07 12:04
El Corazon1-Mar-07 12:04 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
Mark Salsbery1-Mar-07 12:14
Mark Salsbery1-Mar-07 12:14 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
JUNEYT1-Mar-07 11:48
JUNEYT1-Mar-07 11:48 
GeneralRe: How can I find the exact colors of a grayscaled picture? Pin
El Corazon1-Mar-07 11:55
El Corazon1-Mar-07 11:55 
QuestionIs there a way to draw on a client window and erase only the pen color Pin
Akatz71228-Feb-07 17:11
Akatz71228-Feb-07 17:11 
AnswerRe: Is there a way to draw on a client window and erase only the pen color Pin
John R. Shaw3-Mar-07 0:46
John R. Shaw3-Mar-07 0:46 
QuestionDIB Pin
balu chettri28-Feb-07 7:12
balu chettri28-Feb-07 7:12 
AnswerRe: DIB Pin
Mark Salsbery28-Feb-07 14:32
Mark Salsbery28-Feb-07 14:32 
GeneralRe: DIB Pin
John R. Shaw3-Mar-07 0:49
John R. Shaw3-Mar-07 0:49 
QuestionRe: DIB Pin
Mark Salsbery4-Mar-07 6:19
Mark Salsbery4-Mar-07 6:19 
AnswerRe: DIB Pin
John R. Shaw9-Mar-07 9:31
John R. Shaw9-Mar-07 9:31 
GeneralRe: DIB Pin
Mark Salsbery9-Mar-07 11:21
Mark Salsbery9-Mar-07 11:21 
GeneralRe: DIB Pin
John R. Shaw9-Mar-07 12:03
John R. Shaw9-Mar-07 12:03 
AnswerRe: DIB Pin
John R. Shaw3-Mar-07 1:09
John R. Shaw3-Mar-07 1:09 

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.