Bilinear or Bicubic Interpolation?

Discussion related to "under the hood" OpenMV topics.
coverdriven
Posts: 2
Joined: Mon Mar 09, 2020 4:09 pm

Bilinear or Bicubic Interpolation?

Postby coverdriven » Mon Mar 09, 2020 4:13 pm

Hi everyone, new to OpenMV. Excited to learn more.

The interpolation used with draw_image() is nearest-neighbour at the moment. I saw some discussion about bicubic interpolation being implemented. Has there been any progress on this or any other form of interpolation?

thanks,
User avatar
kwagyeman
Posts: 3985
Joined: Sun May 24, 2015 2:10 pm

Re: Bilinear or Bicubic Interpolation?

Postby kwagyeman » Tue Mar 10, 2020 12:14 am

I never had time to do any interpolation. I was thinking about doing it... but, it's not so simple to code and requires a lot more CPU time to do.

If you wanted to contribute some code for this that would make the feature come a lot faster.
Nyamekye,
coverdriven
Posts: 2
Joined: Mon Mar 09, 2020 4:09 pm

Re: Bilinear or Bicubic Interpolation?

Postby coverdriven » Wed Mar 11, 2020 12:16 am

Sure can,

I'll look at a revision to imlib_draw_image() that does a fast bilinear interpolation.

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 21 guests