Click here to Skip to main content
15,909,939 members
Home / Discussions / C#
   

C#

 
GeneralRe: convert time and minutes Pin
Edwin Brunner21-Apr-09 9:50
Edwin Brunner21-Apr-09 9:50 
Questionhow to change property of form in an other started thread? Pin
Sajjad Izadi21-Apr-09 8:08
Sajjad Izadi21-Apr-09 8:08 
AnswerRe: how to change property of form in an other started thread? Pin
Henry Minute21-Apr-09 8:16
Henry Minute21-Apr-09 8:16 
GeneralRe: how to change property of form in an other started thread? [modified] Pin
Sajjad Izadi21-Apr-09 9:03
Sajjad Izadi21-Apr-09 9:03 
AnswerRe: how to change property of form in an other started thread? [modified] Pin
DaveyM6921-Apr-09 10:44
professionalDaveyM6921-Apr-09 10:44 
QuestionWhere to start? - Calculating the size of an object (square footage) in an image Pin
shultas21-Apr-09 8:06
shultas21-Apr-09 8:06 
AnswerRe: Where to start? - Calculating the size of an object (square footage) in an image Pin
Henry Minute21-Apr-09 8:19
Henry Minute21-Apr-09 8:19 
AnswerRe: Where to start? - Calculating the size of an object (square footage) in an image Pin
bulg21-Apr-09 12:11
bulg21-Apr-09 12:11 
First you have to figure out what format the picture was taken in. If it's RAW or BMP, then you've got nice little bytes of information for each rgb value of each pixel. If it was JPEG, then you've got to decompress it to get the pixel values.

I think it might help to search for the term "threshold" in regards to picture analysis. It is basically getting rid of the colors that you don't want.

Another way to find areas of the same color, since your data is basically a matrix, is to treat the column number as "x", treat the RGB value as "y", then find the change in y as x increases, along the row (aka a derivative). Then you've got an array of 0's for filled in areas of the same color, and enormous values at the border zones, and you can fill in your shape w/ whatever geometry you want to get the area.

Or, if this is a long term project, you could check out Activision Tools or Euresys E-Vision. They already do this all this and much more.
QuestionEmbed PDF viewer in C# Windows App Pin
Engineer Joe21-Apr-09 7:24
Engineer Joe21-Apr-09 7:24 
QuestionReturn a function value after leaving the function and wait for corresponding event? Pin
rpm820021-Apr-09 5:05
rpm820021-Apr-09 5:05 
AnswerRe: Return a function value after leaving the function and wait for corresponding event? Pin
DaveyM6921-Apr-09 5:53
professionalDaveyM6921-Apr-09 5:53 
QuestionDeleting a node from Xml Pin
MehmetKocc21-Apr-09 4:49
MehmetKocc21-Apr-09 4:49 
AnswerRe: Deleting a node from Xml Pin
Christian Graus21-Apr-09 11:24
protectorChristian Graus21-Apr-09 11:24 
QuestionGet const-collection from code? Pin
Ariadne21-Apr-09 4:29
Ariadne21-Apr-09 4:29 
AnswerRe: Get const-collection from code? Pin
DaveyM6921-Apr-09 4:49
professionalDaveyM6921-Apr-09 4:49 
GeneralRe: Get const-collection from code? Pin
OriginalGriff21-Apr-09 4:54
mveOriginalGriff21-Apr-09 4:54 
GeneralRe: Get const-collection from code? Pin
Pete O'Hanlon21-Apr-09 4:57
mvePete O'Hanlon21-Apr-09 4:57 
GeneralRe: Get const-collection from code? Pin
OriginalGriff21-Apr-09 5:07
mveOriginalGriff21-Apr-09 5:07 
AnswerRe: Get const-collection from code? Pin
Pete O'Hanlon21-Apr-09 4:56
mvePete O'Hanlon21-Apr-09 4:56 
GeneralRe: Get const-collection from code? Pin
Ariadne22-Apr-09 2:02
Ariadne22-Apr-09 2:02 
AnswerRe: Get const-collection from code? Pin
Rolando CC21-Apr-09 5:30
professionalRolando CC21-Apr-09 5:30 
QuestionAccessing File from Remote PC Pin
satsumatable21-Apr-09 4:21
satsumatable21-Apr-09 4:21 
AnswerRe: Accessing File from Remote PC Pin
Rolando CC21-Apr-09 5:39
professionalRolando CC21-Apr-09 5:39 
Questionthe best way to draw a calendar in C# Pin
student198821-Apr-09 4:10
student198821-Apr-09 4:10 
AnswerRe: the best way to draw a calendar in C# Pin
Rob Philpott21-Apr-09 4:44
Rob Philpott21-Apr-09 4:44 

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.