I
I
idziemian2017-05-13 14:59:10
C++ / C#
idziemian, 2017-05-13 14:59:10

opencv. How to determine the blur kernel given the original and the blurred image?

There are 2 downloaded pictures in Matyu format. The
same size, depth, etc. The second of them is a convolution of the first one with a certain core whose size, let's say we know. How can we calculate this kernel in opencv?
Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Stolyarov, 2017-05-13
@Ni55aN

64d3c8bc241f417b8e2869268f1fdddd.jpeg
It seems that solving a system of equations with 9 elements, in the case of a 3x3 matrix, will help.
There is an Eigen library for this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question