Click here to Skip to main content
15,923,557 members
Home / Discussions / C#
   

C#

 
AnswerRe: Datatable rows check Pin
Gareth H7-Jun-08 10:22
Gareth H7-Jun-08 10:22 
GeneralReflection or Serialization Pin
sourceisnothere7-Jun-08 9:14
sourceisnothere7-Jun-08 9:14 
GeneralRe: Reflection or Serialization Pin
User 66587-Jun-08 9:51
User 66587-Jun-08 9:51 
GeneralRe: Reflection or Serialization Pin
sourceisnothere7-Jun-08 10:42
sourceisnothere7-Jun-08 10:42 
QuestionAn other image processing Pin
Sajjad Izadi7-Jun-08 8:46
Sajjad Izadi7-Jun-08 8:46 
AnswerRe: An other image processing Pin
User 66587-Jun-08 9:25
User 66587-Jun-08 9:25 
GeneralRe: An other image processing Pin
Sajjad Izadi7-Jun-08 9:32
Sajjad Izadi7-Jun-08 9:32 
GeneralRe: An other image processing Pin
User 66587-Jun-08 9:36
User 66587-Jun-08 9:36 
What I just tried out which works, you can also convert the image to grayscale with the ColorMatrix class used above, just set the matrix to

cmxPic.Matrix00 = 0.299f;
cmxPic.Matrix01 = 0.299f;
cmxPic.Matrix02 = 0.299f;

cmxPic.Matrix10 = 0.587f;
cmxPic.Matrix11 = 0.587f;
cmxPic.Matrix12 = 0.587f;

cmxPic.Matrix20 = 0.114f;
cmxPic.Matrix21 = 0.114f;
cmxPic.Matrix22 = 0.114f;


This will produce a grayscale image with a different approach as presented in the aricles.

Hope this helps Smile | :)

modified 12-Sep-18 21:01pm.

QuestionImage processing Pin
Sajjad Izadi7-Jun-08 7:13
Sajjad Izadi7-Jun-08 7:13 
AnswerRe: Image processing Pin
Kristian Sixhøj7-Jun-08 7:18
Kristian Sixhøj7-Jun-08 7:18 
GeneralRe: Image processing Pin
Sajjad Izadi7-Jun-08 8:27
Sajjad Izadi7-Jun-08 8:27 
AnswerRe: Image processing Pin
User 66587-Jun-08 8:12
User 66587-Jun-08 8:12 
QuestionRe: Image processing Pin
Sajjad Izadi7-Jun-08 8:34
Sajjad Izadi7-Jun-08 8:34 
AnswerRe: Image processing Pin
User 66587-Jun-08 8:43
User 66587-Jun-08 8:43 
GeneralRe: Image processing Pin
Sajjad Izadi7-Jun-08 8:54
Sajjad Izadi7-Jun-08 8:54 
Questionwhat is the current screen resolution? Pin
Sajjad Izadi7-Jun-08 5:55
Sajjad Izadi7-Jun-08 5:55 
AnswerRe: what is the current screen resolution? Pin
Christian Graus7-Jun-08 6:21
protectorChristian Graus7-Jun-08 6:21 
GeneralRe: what is the current screen resolution? Pin
Sajjad Izadi7-Jun-08 7:14
Sajjad Izadi7-Jun-08 7:14 
QuestionSpell check word highlighting problem... Pin
sagedread7-Jun-08 5:11
sagedread7-Jun-08 5:11 
AnswerRe: Spell check word highlighting problem... Pin
Christian Graus7-Jun-08 5:41
protectorChristian Graus7-Jun-08 5:41 
GeneralRe: Spell check word highlighting problem... Pin
sagedread7-Jun-08 6:07
sagedread7-Jun-08 6:07 
GeneralRe: Spell check word highlighting problem... Pin
sagedread7-Jun-08 6:57
sagedread7-Jun-08 6:57 
Question[Message Deleted] Pin
Saba027-Jun-08 4:41
Saba027-Jun-08 4:41 
AnswerRe: Getting Parameter from TextBox Pin
teejayem7-Jun-08 4:55
teejayem7-Jun-08 4:55 
AnswerRe: Getting Parameter from TextBox Pin
Christian Graus7-Jun-08 5:43
protectorChristian Graus7-Jun-08 5:43 

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.