Click here to Skip to main content
16,006,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Not much help but... Pin
Kiran Satish22-Sep-04 13:43
Kiran Satish22-Sep-04 13:43 
GeneralRe: Not much help but... Pin
Christian Graus22-Sep-04 13:52
protectorChristian Graus22-Sep-04 13:52 
GeneralRe: Not much help but... Pin
Kiran Satish9-Oct-04 14:36
Kiran Satish9-Oct-04 14:36 
GeneralRe: Not much help but... Pin
Christian Graus10-Oct-04 9:04
protectorChristian Graus10-Oct-04 9:04 
GeneralRe: Not much help but... Pin
Kiran Satish10-Oct-04 9:37
Kiran Satish10-Oct-04 9:37 
GeneralRe: Not much help but... Pin
Kiran Satish23-Sep-04 6:28
Kiran Satish23-Sep-04 6:28 
GeneralRe: Not much help but... Pin
Christian Graus23-Sep-04 10:58
protectorChristian Graus23-Sep-04 10:58 
GeneralRe: Not much help but... Pin
Kiran Satish23-Sep-04 12:02
Kiran Satish23-Sep-04 12:02 
Thanks Graus, I did get u what u r telling. My idea was based on the image type (I am using a grayscale bitmap image , which is only pure balck and white nomore intermediate graylevels). thts why wht i am thinkin is we can just find whether one of the 3 colors of a pixel is 255 [since white is (255,255,255)] if it is, then we consider its neighboirhood pixels in the form of a 3x3 matrix where our pixel is the center pixel [3+stride]. then i perform the matching operation in second loop, if anyone is true then i would like to change the 3 values of the center pixel to [255,0,0].

Important one is my initial image consists pixels of [0,0,0] and [255,255,255].(if we consider it as RGB)

My fina image ocnsists [0,0,0], [255,0,0](for image conrnor pixel), [255,255,255].

I hope now I am clear.

i think i am goin wrong somewhere between byte and integer conversions, but i am not able to figure it out.

thanks,
Pavan.

Pavan
GeneralCTreeCtrl highlight design question ... Pin
Maximilien20-Sep-04 10:06
Maximilien20-Sep-04 10:06 
GeneralProblmes using std::map in a class Pin
Rickard Andersson2020-Sep-04 9:26
Rickard Andersson2020-Sep-04 9:26 
GeneralRe: Problmes using std::map in a class Pin
Navin20-Sep-04 11:06
Navin20-Sep-04 11:06 
GeneralRe: Problmes using std::map in a class Pin
Jörgen Sigvardsson20-Sep-04 13:40
Jörgen Sigvardsson20-Sep-04 13:40 
GeneralRe: Problmes using std::map in a class Pin
Rickard Andersson2020-Sep-04 23:27
Rickard Andersson2020-Sep-04 23:27 
GeneralRe: Problmes using std::map in a class Pin
Moak21-Sep-04 1:13
Moak21-Sep-04 1:13 
Generalwinbase.h and STILL_ACTIVE Pin
ns20-Sep-04 8:40
ns20-Sep-04 8:40 
QuestionDialog window class name? Pin
0v3rloader20-Sep-04 8:22
0v3rloader20-Sep-04 8:22 
AnswerRe: Dialog window class name? Pin
mfcuser20-Sep-04 9:40
mfcuser20-Sep-04 9:40 
AnswerRe: Dialog window class name? Pin
David Crow20-Sep-04 10:28
David Crow20-Sep-04 10:28 
AnswerRe: Dialog window class name? Pin
Jörgen Sigvardsson20-Sep-04 13:27
Jörgen Sigvardsson20-Sep-04 13:27 
AnswerRe: Dialog window class name? Pin
Sujan Christo20-Sep-04 18:00
Sujan Christo20-Sep-04 18:00 
QuestionHow to programmatically show and hide Windows XP destktop icons? Pin
Steve Messer20-Sep-04 7:08
Steve Messer20-Sep-04 7:08 
GeneralC++ question Pin
Anonymous20-Sep-04 6:20
Anonymous20-Sep-04 6:20 
GeneralRe: C++ question Pin
Bob Stanneveld20-Sep-04 6:34
Bob Stanneveld20-Sep-04 6:34 
GeneralRe: C++ question - sorry Pin
Anonymous20-Sep-04 6:52
Anonymous20-Sep-04 6:52 
GeneralRe: C++ question - sorry Pin
Bob Stanneveld20-Sep-04 6:57
Bob Stanneveld20-Sep-04 6:57 

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.