Hi, I am quite new to image processing. I am planning to use IMX8MPLUS as my platform for image/video processing. Here are some generally questions:
1. Can video codec be used to compress/decompress image files? For example, if I want to convert data from image sensor into jpeg image file, do I use video codec or I have to use image codec?
2. If my image pipeline is as follow:
a. Data from image sensor (RAW)
b. Debayering by IMX8MPLUS into RGB
c. RGB to JEPG compression for data storage.
d. JPEG to RGB conversion from image file to display on LCD.
For the above b to d, which part of the IMX8MPLUS core / hardware will be doing the task? Or it will be a pure software task running on the A53 core?
3. Also, I need to control some motor and also get position feedback using optical sensor. But I can't find much information regarding IMX8MPLUS on motor controls and feedback. Any documents/reference will be helpful.
Thanks in advance!
1) imx8mp vpu doesn't support jpeg encoding or decoding, if you need this, you can try the SW
2) imx8mp has ISP which can handle raw data directly, but ISP doesn't support rgb output, only YUV, one option is yuv to rgb by GPU, another option is connect ISP to ISI which can support rgb output
3)for motor control, maybe you can refer to the PWM, or refer to the link as below:
"https://community.nxp.com/t5/i-MX-Processors/Motor-control-using-Imx8mm/td-p/1228144"
Hi Joan,
Thanks for your reply.
For PMW, it is used to control the motor. I am actually enquiring about sensing the motor speed and position.
It is an optical encoder input which can be single phase or 2 phase. The other thread that you refer me to, it mentioned that the IMX8M mini has GPT1 capture capability. Does the 8M Plus version also has this capability? I have 4 motors with 4 encoders feedback. Can it support 4 x single phase capture input independently? Or better still, can it support 4 x 2 phase input independently?
i.mx8mp has GPT1, but I don't find such solution for your request, for more detailed information for GPT1, pls refer to the reference manual
"https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true"