How to solve the this problem
Bitmap nb = new Bitmap(bp);
// create filter
CannyEdgeDetector filter = new CannyEdgeDetector();
filter.ApplyInPlace(nb);
pictureBox2.Image = nb;
Source pixel format is not supported by the filter.
How to solve the this problem
Bitmap nb = new Bitmap(bp);
// create filter
CannyEdgeDetector filter = new CannyEdgeDetector();
filter.ApplyInPlace(nb);
pictureBox2.Image = nb;
Source pixel format is not supported by the filter.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bikesh SrivastavaPosted Aug 26, 2016, 5:17 AM
Nilesh JadavPosted Aug 26, 2016, 3:27 AM
1) http://www.codeproject.com/Questions/1043312/Source-pixel-format-is-not-supported-by-the-filter
2) http://stackoverflow.com/questions/26967657/unsupported-pixel-format-of-source-or-template-image-aforge-imaging
Hope that helps !