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

C#

 
AnswerRe: Info about sound from microphone Pin
Luc Pattyn27-Jun-07 14:53
sitebuilderLuc Pattyn27-Jun-07 14:53 
AnswerRe: Info about sound from microphone Pin
Leslie Sanford27-Jun-07 16:39
Leslie Sanford27-Jun-07 16:39 
QuestionOWC Excel Problem Pin
TheMajorRager27-Jun-07 11:38
TheMajorRager27-Jun-07 11:38 
AnswerRe: OWC Excel Problem Pin
Dave Kreskowiak27-Jun-07 12:01
mveDave Kreskowiak27-Jun-07 12:01 
QuestionCan I change the Opacity of control units in a form? Pin
Khoramdin27-Jun-07 10:35
Khoramdin27-Jun-07 10:35 
AnswerRe: Can I change the Opacity of control units in a form? Pin
Ed.Poore27-Jun-07 10:43
Ed.Poore27-Jun-07 10:43 
AnswerRe: Can I change the Opacity of control units in a form? Pin
Dave Kreskowiak27-Jun-07 11:57
mveDave Kreskowiak27-Jun-07 11:57 
QuestionImage Processing: Redraw the outline of any image (sketching) in C#.Net, but How?? Pin
zeeShan anSari27-Jun-07 9:44
zeeShan anSari27-Jun-07 9:44 
Hi,Big Grin | :-D
For convert the any image into sketch format (draw just the dark pixels),I use following logic:
for (int i = 0; i < 300; i++)
{
for (int j = 0; j < 200; j++)
{
p = new Pen(bitmap.GetPixel(i, j), 1);//get pixel from the image/bitmap
for (int r1 = 0; r1 < 100; r1++)
{
for (int r2 =0; r2 < 100; r2++)
{
for (int r3 = 0; r3 < 100; r3++)
{
if (p.Color ! = Color.FromArgb(255, r1, r2, r3)) //check dark pixel
{
p.Color = Color.Transparent;
}
g.DrawRectangle(p, 1 * i, 1 * j, 1, 1);
}
}
}

But it is too slow and not efficient ………Is above code require more betterment (if required then tell me what things are requried)or it is totally wrong?………second question is that Am I convert the color picture into the grayscale format by using the built-in function in Visual Studio C-Sharp .Net (if anyone function/class is present then tell me) -or- it need a algorithm and has a lengthy processes =>please give the some hints about the image processing.
Please send your logic for conversion of any image into sketch style.
Thanks…
D'Oh! | :doh:
AnswerRe: Image Processing: Redraw the outline of any image (sketching) in C#.Net, but How?? Pin
Luc Pattyn27-Jun-07 10:16
sitebuilderLuc Pattyn27-Jun-07 10:16 
AnswerRe: Image Processing: Redraw the outline of any image (sketching) in C#.Net, but How?? Pin
Christian Graus27-Jun-07 10:47
protectorChristian Graus27-Jun-07 10:47 
GeneralRe: Image Processing: Redraw the outline of any image (sketching) in C#.Net, but How?? Pin
Luc Pattyn27-Jun-07 11:04
sitebuilderLuc Pattyn27-Jun-07 11:04 
GeneralRe: Image Processing: Redraw the outline of any image (sketching) in C#.Net, but How?? Pin
Christian Graus27-Jun-07 11:53
protectorChristian Graus27-Jun-07 11:53 
QuestionStruct in designer Pin
Stevo Z27-Jun-07 9:10
Stevo Z27-Jun-07 9:10 
AnswerRe: Struct in designer Pin
J. Dunlap27-Jun-07 10:09
J. Dunlap27-Jun-07 10:09 
GeneralRe: Struct in designer Pin
Stevo Z27-Jun-07 10:14
Stevo Z27-Jun-07 10:14 
GeneralRe: Struct in designer Pin
Stevo Z27-Jun-07 11:36
Stevo Z27-Jun-07 11:36 
QuestionOWC Excel Components Pin
TheMajorRager27-Jun-07 8:51
TheMajorRager27-Jun-07 8:51 
AnswerRe: OWC Excel Components Pin
Dave Kreskowiak27-Jun-07 9:08
mveDave Kreskowiak27-Jun-07 9:08 
GeneralRe: OWC Excel Components [modified] Pin
TheMajorRager27-Jun-07 10:23
TheMajorRager27-Jun-07 10:23 
GeneralRe: OWC Excel Components Pin
Dave Kreskowiak27-Jun-07 11:56
mveDave Kreskowiak27-Jun-07 11:56 
QuestionC# - Resizing multi-dimensional arrays Pin
mdwhite7627-Jun-07 7:37
mdwhite7627-Jun-07 7:37 
AnswerRe: C# - Resizing multi-dimensional arrays Pin
Dave Kreskowiak27-Jun-07 7:53
mveDave Kreskowiak27-Jun-07 7:53 
AnswerRe: C# - Resizing multi-dimensional arrays Pin
Martin#27-Jun-07 8:08
Martin#27-Jun-07 8:08 
GeneralRe: C# - Resizing multi-dimensional arrays Pin
mdwhite7628-Jun-07 5:04
mdwhite7628-Jun-07 5:04 
Questiontwo appilcations accessing the same memory Pin
Yitzchok Dev27-Jun-07 7:35
Yitzchok Dev27-Jun-07 7:35 

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.