specific application of gaussian

Discussion related to "under the hood" OpenMV topics.
Posts: 16
Joined: Mon Oct 07, 2019 4:43 pm

specific application of gaussian

Postby Isperia » Tue Apr 21, 2020 4:56 pm

I'm writing an application that benefits immensely from high level gaussian filters. However, because of the computational load of that filter, I want to apply it in only a specific area of interest. Since it appears that the img.gaussian() doesn't take a roi argument, how do I generate a mask image manually? All I'd need is a way to generate a pure black image, then write specific white rectangles in areas.
Also, am I correct in that pixels that are masked out are not blurred at all (the processor doesn't even run the function on them), thereby cutting that compute time out?
User avatar
Posts: 4436
Joined: Sun May 24, 2015 2:10 pm

Re: specific application of gaussian

Postby kwagyeman » Tue Apr 21, 2020 5:12 pm

Hi, we've optimized the firmware in the latest head of our repo to make that go way faster. Median filter for example was speed up 1000%.

Um, attached is a firmware binary. Give some of the filters a try. For the H7.
(1.16 MiB) Downloaded 20 times

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest