S
S
SergeySerge112022-02-14 06:04:48
WPF
SergeySerge11, 2022-02-14 06:04:48

How to work with bitmaps in c# wfp? How to detect borders of Numbers in an image?

I don’t understand how to get pixels from the BitmapImage class? Where is this array, why was it hidden, who needs it?
There is some powdered way to get it, such as copying it into a new one, but why ?? K, but how to get, for example, only the Red pixels of the color values. And change them.
Then, there is the "Operator_Sobel" algorithm. I can't find an example of its work anywhere. https://ru.wikipedia.org/wiki/%D0%9E%D0%BF%D0%B5%D...
Here's what exactly needs to be multiplied by what , and what do I get as output? There are 2 matrices, 1 matrix operator and the second "{A} is the original image," what is it? As I understand it, these are 9 pixels, and what kind of numbers should they contain, such as Red + Green + Blue / 3 ????or Sqrt(R*R+G*G+B*B) or what, what to multiply by what? And what do I get at the output, for example, I get a double number, and what is it, how to convert it into colors.
It would be best if someone knows how to work with graphics in wpf in Russian, go where you need to work with it? And then there is not a word in the textbooks, just like this is a circle, like this is a line, and then they themselves, but I can’t find it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
twobomb, 2022-02-14
@SergeySerge11

beyondtechs.blogspot.ru/2012/06/canny-sobel-edge-d...
http://www.aforgenet.com/framework/docs/html/2c821...
stackoverflow.com/questions/16632226/fastest- sobel...
stackoverflow.com/questions/14836299/sobel-operato...
softwarebydefault.com/2013/05/11/image-edge-detection
Taken from here
PS If it doesn't work with BitmapImage use System.Drawing.Bitmap.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question