0

What is the fastets blur filter in Halcon? I dont need a specific type of blur, I just need it to be blurred as fast as possible.. About 3/4 px in size.

Currently I am using the binomial_filter as it seems to be faster than the gaussian, but still slow...

sharkyenergy
  • 3,842
  • 10
  • 46
  • 97

4 Answers4

1

No, there is not a faster filter. You can see the demo compare_gauss_filters.hdev inside Halcon. You can reduce the execution time only reducing the filter size.

Andrea Mannari
  • 982
  • 1
  • 6
  • 9
1

The command for the mean filter is mean_image.

estelle
  • 11
  • 1
0

I don't find polynomial_filter in Halcon. Nevertheless, you can try mean_image

Andrea Mannari
  • 982
  • 1
  • 6
  • 9
  • Sorry, its binomial_filter.. not Polynomial.. I am updating the post. Anyway, binomial_filter on my pc takes 5.3ms and mean_image takes 6.9ms (average) – sharkyenergy Aug 11 '20 at 08:10
0

A mean filter should be faster because it needs much fewer multiplications.

estelle
  • 11
  • 1