Click here to Skip to main content
15,902,198 members
Home / Discussions / C#
   

C#

 
AnswerRe: check box in repeater Pin
NotPolitcallyCorrect20-Sep-13 7:36
NotPolitcallyCorrect20-Sep-13 7:36 
QuestionLooking for help in querying web page values with C sharp Pin
turbosupramk320-Sep-13 5:28
turbosupramk320-Sep-13 5:28 
AnswerRe: Looking for help in querying web page values with C sharp Pin
turbosupramk323-Sep-13 2:55
turbosupramk323-Sep-13 2:55 
QuestionDetect a particular color in particular location from image in c# Pin
Member 402509119-Sep-13 22:20
Member 402509119-Sep-13 22:20 
AnswerRe: Detect a particular color in particular location from image in c# Pin
Richard MacCutchan20-Sep-13 1:54
mveRichard MacCutchan20-Sep-13 1:54 
AnswerRe: Detect a particular color in particular location from image in c# Pin
Abhinav S20-Sep-13 3:16
Abhinav S20-Sep-13 3:16 
AnswerRe: Detect a particular color in particular location from image in c# Pin
BillWoodruff20-Sep-13 7:46
professionalBillWoodruff20-Sep-13 7:46 
GeneralRe: Detect a particular color in particular location from image in c# Pin
shehrozeee22-Sep-13 0:17
shehrozeee22-Sep-13 0:17 
I did a project recently on real-time color detection.
The major issue is how to actually define a color as you see it , not as a computer sees it. for that you need to do some math.
as you currently understand an image, it is a 3d array with RGB values. R G B are actually just three linearly independent vectors used to define any color in the color space (r[0-255]g[0-255]b[0-255]). Think of it as X Y Z coordinates in space. a specific color is just a point in this space. it is nearly impossible to get the same color in real life cases. so rather than matching a point in space , you can make a small volume around that point , lets say r+-5 g+-5 b+-5 and see if the given color falls in the defined space or not.
another approach is to make a new coordinate system with your color as a primary vector. now you again define the whole color range with these new vectors BUT now the higher the value of your required vector tell you that more of your color is present. if the other two orthogonal vectors have components close to 0 than its perfectly your color and you can mark it as ok. This gives you a trivial solution to
BillWoodruff wrote:
6. is the fill-color value of "red" the same for each image ?

and as Bill asked, your problem can have a lot of approaches depending on what you actually want to achive
good luck Thumbs Up | :thumbsup:
GeneralRe: Detect a particular color in particular location from image in c# Pin
Dave Kreskowiak22-Sep-13 3:34
mveDave Kreskowiak22-Sep-13 3:34 
Questionhow to use thread in for loop in c# Pin
superselector19-Sep-13 20:00
superselector19-Sep-13 20:00 
AnswerRe: how to use thread in for loop in c# Pin
Mycroft Holmes19-Sep-13 21:06
professionalMycroft Holmes19-Sep-13 21:06 
GeneralRe: how to use thread in for loop in c# Pin
superselector19-Sep-13 21:50
superselector19-Sep-13 21:50 
GeneralRe: how to use thread in for loop in c# Pin
GuyThiebaut19-Sep-13 22:20
professionalGuyThiebaut19-Sep-13 22:20 
GeneralRe: how to use thread in for loop in c# Pin
superselector19-Sep-13 23:08
superselector19-Sep-13 23:08 
GeneralRe: how to use thread in for loop in c# Pin
GuyThiebaut19-Sep-13 23:13
professionalGuyThiebaut19-Sep-13 23:13 
GeneralRe: how to use thread in for loop in c# Pin
Pete O'Hanlon19-Sep-13 22:34
mvePete O'Hanlon19-Sep-13 22:34 
GeneralRe: how to use thread in for loop in c# Pin
harold aptroot19-Sep-13 23:58
harold aptroot19-Sep-13 23:58 
GeneralRe: how to use thread in for loop in c# Pin
superselector23-Sep-13 18:51
superselector23-Sep-13 18:51 
GeneralRe: how to use thread in for loop in c# Pin
harold aptroot23-Sep-13 21:08
harold aptroot23-Sep-13 21:08 
GeneralRe: how to use thread in for loop in c# Pin
superselector23-Sep-13 21:24
superselector23-Sep-13 21:24 
GeneralRe: how to use thread in for loop in c# Pin
harold aptroot23-Sep-13 21:28
harold aptroot23-Sep-13 21:28 
GeneralRe: how to use thread in for loop in c# Pin
superselector23-Sep-13 22:31
superselector23-Sep-13 22:31 
GeneralRe: how to use thread in for loop in c# Pin
harold aptroot23-Sep-13 22:33
harold aptroot23-Sep-13 22:33 
GeneralRe: how to use thread in for loop in c# Pin
superselector23-Sep-13 22:39
superselector23-Sep-13 22:39 
GeneralRe: how to use thread in for loop in c# Pin
harold aptroot23-Sep-13 23:15
harold aptroot23-Sep-13 23:15 

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.