-
In the SE user manual (p. 18, chap. 7.2.1), they already derive a matched filter. In the SEP docs it says that this is based on the assumption that noise is equal across the image (I haven't found a reference to this in the SE manual, but I guess it's implied by how the filter is derived; only afterwards do they assume white noise). In this case, the filter appearently simplifies to a regular convolution of the image with the filter kernel, which equates to flipping the kernel on the x and y axis and then multiplying each value in the kernel with the corresponding one in the image and and summing up the results. It also says as much in the wiki article about convolution. The SEP solution for the matched filter in case of independent noise in each pixel seems more complicated than simply flipping the filter on its x and y axes. I asked for the visual representation of the application on stackexchange, but there I was told all you do is flip the filter. So I am confused, but I guess they assumed the equal noise case. What does the application of the matched filter actually look like (e.g. analogous to how convolution is displayed on wiki)? I really like your derivation using matrices, since all the sources on matched filters I managed to find deal with sonar / radar applications in 1D and use itegrals and such. Can you point me to a source using matrix notation (other than the wiki article)? I didn't manage to find one. What is the covariance matrix in the derivation? Is this where the RMS-map is used? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The derivation of the matched filter formula can be found on the sep readthedocs page or on wikipedia. The final filter that we use in sep is the second to last equation on the sep readthedocs page. If the uncertainty is the same for each pixel, then this formula simplifies to the one that you are referring to, i.e. a convolution with the kernel. The derived equation is valid for any covariance matrix, although we currently only support covariance matrices in To use the matched filter in |
Beta Was this translation helpful? Give feedback.
The derivation of the matched filter formula can be found on the sep readthedocs page or on wikipedia. The final filter that we use in sep is the second to last equation on the sep readthedocs page. If the uncertainty is the same for each pixel, then this formula simplifies to the one that you are referring to, i.e. a convolution with the kernel.
The derived equation is valid for any covariance matrix, although we currently only support covariance matrices in
sep
where all of the pixels have independent noise (i.e. the covariance matrix only has terms on the diagonal). In source extractor, they make a further assumption that the noise for each pixel is the same. This is oftentimes what yo…