When I convolute two normalized 2D normal distributions, will the result also be normalized?
Show older comments
Hello,
when I convolute two normalized 2D normal distributions, will the result also be normalized?
Wolfram tells me that the resulting volume will be the product of the distributions for 1D.
(<http://mathworld.wolfram.com/Convolution.html>)
Is this also true for nD?
Edit: In the meantime I found out, that I have to multiply the result of a convolution with the sampling size to get the correct result. But why?
Kind regards,
joe
Answers (1)
Image Analyst
on 7 Apr 2016
0 votes
No it won't. If you want the range of the convolution to be roughly the same as the input, then you need to make sure the convolution kernel sums to 1. Otherwise, the range will be different, perhaps a lot different. However, you can normalize the output afterwards to any range you want. The function mat2gray() may be useful to you as it normalizes the 2D array to the range 0-1.
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!