Understanding The Convolution Matrix
        Posted  
        
            by 
                Ryan Naddy
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Ryan Naddy
        
        
        
        Published on 2012-11-28T16:54:27Z
        Indexed on 
            2012/11/28
            17:04 UTC
        
        
        Read the original article
        Hit count: 318
        
I am learning about the Convolution Matrix, and I understand how they work, but I don't understand how to know before hand what the output of a Matrix will look like. For example lets say I want to add a blur to an image, I could guess 10,000+ different combinations of numbers before I get the correct one.
I do know though that this formula will give me a blur effect, but I have no idea why.
float[] sharpen = new float[] {
     1/9f, 1/9f, 1/9f,
     1/9f, 1/9f, 1/9f,
     1/9f, 1/9f, 1/9f
};
Can anyone either explain to me how this works or point me to some article, that explains this? I would like to know before hand what a possible output of the matrix will be without guessing.
Basically I would like to know why do we put that number in the filed, and why not some other number?
© Stack Overflow or respective owner