This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Is there any library or code to rescaling(not 1/4) of an input image?

Other Parts Discussed in Thread: TMS320DM648

Hi.

I found an image rescaling library in VLIB_3.2, VLIB_image_rescale.

But, in the VLIB_image_rescale description the library fuction is supported only 1/2 downscale in each direction.

Is there any library or sourcec code to rescailing of an input image not  only 1/2 scale but also another scales?

For example, I want to reduce an input image to 0.9 times in each direction.

Regards,

Tahk.

  • Hi Tahk,

    VLIB doesn`t support this functionality. The VLIB resize API only support 1/2 scale downsize in horizontal and vertical directions for YUV images and programmable scaling factor for Luma only images.  If this doesn`t suffice your requirement, I would recommend that you take a look at the cvResize function in OpenCV. This allows users to resize images by any factor.

    *%20src,%20CvArr*%20dst,%20int%20interpolation%29

    The code available in natural C /C++ code and so it can be ported to the C66X cores.


    Regards,

    Rahul

  • Hi, Rahul.
    Sorry, I'm late and thank you for your reply.

    Unfortunately, I'm using TMS320DM648(C64+ series) and I heard that OpenCV can't be ported to TMS320DM648.
    Is it right?

    Regards,

    Tahk.