开发者

How to get matrix elements from Image in C#.net?

开发者 https://www.devze.com 2023-04-03 14:53 出处:网络
I am new to Image Processing. I need to apply the Mean Filter for an image, so that needs to get the matrix elements in one pixel from an image.

I am new to Image Processing. I need to apply the Mean Filter for an image, so that needs to get the matrix elements in one pixel from an image.

I am getting a pi开发者_JS百科xel value as 2*2 Matrix (ARGB) like (255,103,103,103). I don't know how to convert the color values (255,103,103,103) to an Integer like 25678 so that I can find the mean value.

Please help me out with the problem.


int argb = Color.FromArgb(255,103,103,103).ToArgb();
0

精彩评论

暂无评论...
验证码 换一张
取 消