Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

BMart1

New Contributor II

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-15-2017
06:28 AM

77 Views

ResizeFilter

What does ResizeFilter do? Is it different than ResizeLanczos?

Bruno

Link Copied

12 Replies

gaston-hillar

Black Belt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-20-2017
08:55 PM

77 Views

Hi Bruno,

ResizeFilter changes the size of an image using a generic filter.

ResizeLanczos changes an image size using interpolation with the Lanczos filter.

gaston-hillar

Black Belt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-20-2017
08:56 PM

77 Views

Hi Bruno,

The following page for the documentation of the latest version of Intel IPP provides you with all the resize functions with prior initialization. You can check the documentation to see all the differences. You have a huge number of resize functions.

https://software.intel.com/en-us/node/529047

gaston-hillar

Black Belt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-20-2017
08:57 PM

77 Views

Bruno,

I forgot to include the documentation for the ResizeFilter function. The following is the link: https://software.intel.com/en-us/node/504401

gaston-hillar

Black Belt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-20-2017
09:03 PM

77 Views

BMart1

New Contributor II

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-21-2017
05:32 AM

77 Views

Hi Gastón,

The documentation is really scarce. You can call ResizeFilterInit with option ippResizeFilterLanczos, which sounds really similar to calling ResizeLanczos. I'm a signal processing noob, so maybe the distinction is obvious to people of other backgrounds.

Bruno

gaston-hillar

Black Belt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-21-2017
09:42 AM

77 Views

Hi Bruno,

I've been a user for Intel Performance Primitives for a long time. I never had problems with the documentation. However, the documentation provides information about calling the different functions and doesn't explain the goal for each filter. This is domain specific. So, you won't become a signal processing expert by reading the documentation. You require other sources to become a signal processing expert, combined with the documentation on how to call the functions. You need to understand what you want to do and the documentation will allow you to use the appropriate function to achieve your goals.

The ResizeFilterInit function allows you to specify the desired filter to use. There are many ways to achieve the same result.

You can check additional documentation to understand the difference between the filters and they effect and when it is convenient to use each of them.

gaston-hillar

Black Belt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-21-2017
09:44 AM

77 Views

The following link might be helpful. It provides some details about ROI Processing in Geometric Transforms.

https://software.intel.com/en-us/node/504351#9CB2BEA9-5C3D-4E7A-AC42-7CD82CF74E2B

Just make sure you check other sources to have a better understanding of what you can do with these functions.

Jing_X_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-21-2017
05:11 PM

77 Views

Valentin_K_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-22-2017
01:09 AM

77 Views

In addition ResizeLanczos API is developed to support external threading.

Best regards,

Valentin

Adriaan_van_Os

New Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-22-2017
04:06 AM

77 Views

> But ResizeFilter computes pixel values using fixed-point arithmetic, so it has lower accuracy than ResizeLanczos that uses floating point arithmetic to interpolate pixels.

It looks like ResizeFilter is available for 8u_C1R only, so ResizeFilter is of very limited use. You want to say that this function uses fixed-point arithmetic for 8u ? What is the size of this fixed-point arithmetic ? And how can this lead to "lower accuracy" for 8u ?

ResizeLanczos uses floating-point arithmetic for 8u, 16u, 16s, 32f and 64f ? What size of floating-point arithmetic ? And where is this documented (as the original question was related to (lack of) documentation) ?

And what type and size of arithmetic is used by ResizeLinear, ResizeCubic and ResizeSuper ?

Regards,

Adriaan van Os

Valentin_K_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-22-2017
04:33 AM

77 Views

Hi Adriaan van Os,

The type of arithmetic for internal computations is always compromise between accuracy and performance.

Best regards,

Valentin

Adriaan_van_Os

New Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-22-2017
04:49 AM

77 Views

> The type of arithmetic for internal computations is always compromise between accuracy and performance.

That is like saying like that 2 is always greater than 1. Which is interesting but not informative. Nor addressing my question.

Regards,

Adriaan van Os

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.