Ask Your Question

Filter2D Meaning

asked 2014-10-29 06:50:50 -0500

Deepak Kumar gravatar image

updated 2019-01-25 12:36:49 -0500

hy, can anyone give me the explaination of these 2 lines of code.

c1 = cv2.filter2D(img2, -1, h/n1, borderType=cv2.BORDER_REFLECT) c2 = cv2.filter2D(img, -1, h, borderType=cv2.BORDER_REFLECT)2 / (n*n1)

i am not able to get the meaning of img2 and cv2.filter2D(img, -1, h, borderType=cv2.BORDER_REFLECT)2 / (n*n1).

what it exectly does. i want to write the same thing in java. appreciated if someone can help me out help me !!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-29 07:36:56 -0500

rwong gravatar image

If you have not studied Convolution before, please go ahead and study it. It is a concept in mathematics and/or signal processing, and is relevant to electrical engineering as well. Ask your mathematics professor or tutor for help if necessary. If you do not understand this concept, there is no way to explain that to you.

edit flag offensive delete link more

Question Tools


Asked: 2014-10-29 06:50:50 -0500

Seen: 176 times

Last updated: Oct 29 '14