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.

I want use IMGLIB. Plz help me!!!

HI

I'm studing EVM in korea.

I visit to Question for my problem.

First, I can't be using English very well.

I'm studying C6A8167(DM816x) EVM.

EVM connect linux host.

My linux host version is Ubuntu 10.04 LTS.

EVM first boots to a given state is an SD card.

I want image proccesing in EVM include IMGLIB.

So I have a lot of questions.

1. If I want to use IMGLIB, CCS is a necessary one?

2. Please let me know in detail that use IMG_sobel_3x3_8_d example in EVM.

3. Last one, how can I make my input(output) array(IMG_sobel_3x3_8_idat, IMG_sobel_3x3_8_odat)?

In summary, how can I execute IMG_sobel_3x3_8_d example in my EVM(input data : jpeg)?

Please tell me in detail.

  • Sangyun,

    C6A8167 is a ARM+DSP device so when you boot up through the SD card and your VMware setup, the device boots up the ARM .

    IMGLIB is a optimized imaging library for the DSP, so you cannot run the optimized DSP code directly on the ARM. If you want to run the sample IMGLIB code on the DSP. You will need Code composer studio, an emulator and the GEL file to initalize the DSP. The process of connecting to the DSP is described here.

    http://processors.wiki.ti.com/index.php/Connecting_to_DSP_on_C6A8168,_DM8168,_DM8148

    You can also call IMGLIB code on the DSP, over syslink using tools like C6Run or C6Accel. These tools provide the ARM developers framework to call functions on the DSP.

    As far as opening JPEG images is concerned you need a JPEG decoder to obtain the image data from them. You can either use ffmpeg or OpenCV on the ARM to read your images. If you want to bypass this step you have the option of converting the JPEG images you have into Raw image data using several software tools available on the web.

    Hope this helps.

    Regards,

    Rahul

  • Thanks for your answer.

    To summarize above Answer

    To use IMGLIB is necessary to say that CCS is right?

    2.2.1 Looking at spruf30a without CCS looks like it could be the link, right?

    When I use IMGLIB if I really need that CCS.

    I try study CCS.

    And 2.2.1 in spruf30a(IMGLIB docs) looks like I can compile and link without CCS.

    I want know  in detail 2.2.1.

    "cl6x main.c -z -o IMG_boundary_drv.out -lrts64plus.lib -limglib2.l64P"

    I have trouble with to add the sentence in upper line to which 'Makefile' located at and where to use 'make'.

    Please answer for my answer

    Thank you.