rapp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Rapp-users] Image Resample with RAPP library


From: Johan Almbladh
Subject: Re: [Rapp-users] Image Resample with RAPP library
Date: Mon, 25 May 2015 16:31:13 +0200

Hi Raffaele,

The function rapp_reduce_2x2_u8() scales down a u8 image by a factor of two in both dimensions. There are also versions for bit-packed binary images as well if you need that.

There are currently only functions for upscaling binary images, rapp_expand_2x2_bin(), not for u8 images. Feel free to add that if you need u8 upscaling. :)

Please see the sections on spatial reduction and spatial expansion in the manual for details.

Best regards,
Johan

On Mon, May 25, 2015 at 12:43 PM, Raffaele Iuliano <address@hidden> wrote:
Hi,
I’m working for the implementation of a resampling procedure in C.
The algorithm has to run on smart cameras, so the efficiency is very important.
There is a way to use RAPP for implementing the resize of an image (both upscaling and downscaling)?
The image is gray-scale, 1 channel, 1 byte per pixel. It has been created using rapp-malloc and it is aligned.
Which RAPP functions i have to call?

Thanks for patience and support.

Best regards.

                                                                                                                                                          Raffaele Iuliano


reply via email to

[Prev in Thread] Current Thread [Next in Thread]