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.

[参考译文] TDA4VM:如何从 OpenCV's calibrateCamera ()结果生成"DCC_LDC.bin"失真文件

Guru**** 2481465 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1458801/tda4vm-how-to-generate-a-dcc_ldc-bin-distortion-file-from-opencv-s-calibratecamera-results

器件型号:TDA4VM

工具与软件:

我想从 OpenCV 的 calibrateCamera ()(https://docs.opencv.org/4.x/d9/d0c/group__calib3d.html#ga3207604e4b1a1758aa66acb6ed5aa65d )的校准开始评估 TDA4VM 上的 LDC (镜头失真校正)功能

 

因此、我需要将 OpenCV 模型的输出摄像头矩阵和失真系数转换为 LDC 硬件所需的"DCC_LDC.bin"文件(即 GstTIOVXLDC gstreamer 模块使用的文件)。

 

从 calibrateCamera ()结果开始生成"DCC 调优工具"的"mesh.txt"文件是否有一些代码或分步指南?

 

注1:我看了一些类似的问题、但没有找到任何有用的见解来实现这一目标。

(https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1372038/tda4vh-q1-how-to-generate-mesh-txt-of-ldc-based-on-parameters-of-fisheye-pinhole-distortion-model/5240766?tisearch=e2e-sitesearch&keymatch=LDC%252520opencv#5240766 、

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1347212/tda4ve-q1-generate-the-ldc-lut-with-opencv-with-given-camera-matrix-and-coefficients/5134592?tisearch=e2e-sitesearch&keymatch=LDC%20opencv#5134592)

 

注2:我注册到 e2e.ti.com 并申请了 ADAS-SW-IMAGING、如 https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1411252/processor-sdk-j721e-dcc-tuning-tool-documenation?keyMatch=DCC%20tuning%20tool&tisearch=universal_search 中所述。 但是、该申请已等待了近一个月、该工具是否仍在使用? 是否有其他方法可以获取它?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Loris:

    Unknown 说:
    我注册到 e2e.ti.com 并申请了 ADAS-SW-IMAGING [/报价]

    您的申请已获得批准。

    [quote userid="634242" url="~/support/processors-group/processors/f/processors-forum/1458801/tda4vm-how-to-generate-a-dcc_ldc-bin-distortion-file-from-opencv-s-calibratecamera-results 是否有一些代码或分步指南用于从 calibrateCamera ()结果开始生成"DCC 调优工具"的"mesh.txt"文件?

    有关创建"mesh.txt"所需的所有详细信息、您可以参考 LDC 常见问题解答页面。

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1058565/faq-tda4vm-how-to-create-a-ldc-mesh-lut-for-fisheye-distortion-correction-on-tda4?keyMatch=LDC%20FAQ

    我们不使用 openvc、因此没有适用于 OpenCV 的分步式指令。

    一般而言、您可以(a)在校准后使用 OpenCV 进行失真校正、然后使用 OpenCV 输入和输出图像坐标构建网格、或(b)使用 OpenCV 校准结果构建常见问题解答页面所需的镜头失真曲线。