Forums - Image resize

5 posts / 0 new
Last post
Image resize
bnsanthosh
Join Date: 6 Jun 14
Posts: 1
Posted: Thu, 2015-12-03 03:51

What are the color formats supported for image resize/scaling?

Can I resize a YUV image using  FASTCV?

 

Santhosh

  • Up0
  • Down0
jeff4s Moderator
Join Date: 4 Nov 12
Posts: 106
Posted: Thu, 2015-12-03 10:04

Hi,

Image resizing APIs in FastCV work for greyscale images only. Some APIs (mostly for color conversion with a few exceptions) support color images.

Cheers,

-Jeff

  • Up0
  • Down0
divya.barathi
Join Date: 5 Jun 20
Posts: 1
Posted: Mon, 2020-09-07 21:01

Can i resize yuv image using a single api "fcvScaleDownu8_v2" or need to use two api for y separatley and uv separattey

 

  • Up0
  • Down0
jeff4s Moderator
Join Date: 4 Nov 12
Posts: 106
Posted: Tue, 2020-09-08 09:20

Hi,

Most FastCV APIs take grayscale image input only. For downscaling YUV image you can use the following two APIs:

fcvScaleDownMNu8

fcvScaleDownMNInterleaveu8

Cheers,

-Jeff

  • Up0
  • Down0
ss.pandiri
Join Date: 29 May 18
Posts: 58
Posted: Tue, 2021-03-23 04:32

Hi,

 

Here's a sample of yuv image downscale through fastcv:

https://github.com/quic/sample-apps-for-Qualcomm-Robotics-RB5-platform/b...

thanks

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.