Answer the question
In order to leave comments, you need to log in
How to make an image black and white in Aforge.NET?
Unable to apply filter to image.
I try like this:
private void Button_Click_3(object sender, RoutedEventArgs e)
{
// create grayscale filter (BT709)
Grayscale filter = new Grayscale(0.2125, 0.7154, 0.0721);
// apply the filter
Bitmap grayImage = filter.Apply(image2);
}
Answer the question
In order to leave comments, you need to log in
An object of the Bitmap class must be passed to the apply method.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question