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.

Compiler/OPT8241-CDK-EVM: How to calibration camera with VoxelSDK

Part Number: OPT8241-CDK-EVM

Tool/software: TI C/C++ Compiler

Hi Ti:

I am a software engineer at our company.Now Because of the work requirements, I need to write a software to get Depth information and Amplitude information. I can now illuminate the camera and filter it according to the filter provided by Voxelsdk. However, my image has a lot of noise around the picture. I suspect it is because I have to do calibration. I saw the following calibration process on Github. And browsing a lot of related issues found that I only have to do Common Phase Offset Calibration. Is this the case? If so, what should I do specifically?

Looking forward to your answers.

Thanks & Regards.

  • Hi!

    Can you answer the following questions, please?

    What is the scene like? Can you share an image of the scene from a normal camera as well as an image of the amplitude image from Voxel Viewer?

    OPT8241-CDK-EVM comes with pre-calibrated profiles and you don't need to calibrate it again. Which profile are you using?

    Suramya
  • Hi Suramya:

    1.Maybe you understand what I mean wrong.Both depth and amplitude information is obtained from your sensor,It is not from a normal camera.

    2.I am using RTS5825CameraNoCalibration.conf and RTS5825CameraNormal.conf. The list is the configuration information

    RTS5825CameraNoCalibration.conf

    [global]

    id = 129

    name = No Calibration

    [defining_params]

    unambiguous_range = 6

    frame_rate = 25

    sub_frame_cnt_max = 4

    quad_cnt_max = 4

    intg_time = 10

    illum_volt = 1800

    [params]

    [calib]

    fx = 230.492315023

    fy = 231.489651268

    cx = 151.531059295

    cy = 117.57638468

    k1 = -0.218646558104

    k2 = 0.239127935299

    k3 = -0.115480536339

    p1 = 0.00141012577006

    p2 = -0.00117499129377

    RTS5825CameraNormal.conf

    [global]

    id = 128

    name = Normal

    [defining_params]

    unambiguous_range = 6

    frame_rate = 25

    sub_frame_cnt_max = 4

    quad_cnt_max = 4

    intg_time = 10

    illum_volt = 1800

    [params]

    [calib]

    fx = 230.492315023

    fy = 231.489651268

    cx = 151.531059295

    cy = 117.57638468

    k1 = -0.218646558104

    k2 = 0.239127935299

    k3 = -0.115480536339

    p1 = 0.00141012577006

    p2 = -0.00117499129377

    freq_corr = 1

    freq_corr_at = 18

    phase_corr_1 = -1205

    Here is depth image and amplitude image.is it normal ? 
    Why are there so many noises? How should I eliminate them?

    Regards

  • Hi, 

    What i meant was, to take a picture from a normal camera of the scene. However, it doesn't seem necessary, as the scene is just your hand. 

    If you're using OPT8241-CDK-EVM, you should be using the MetrilusLongRange (HW) profile. I feel that is not the case here. 

    The image doesn't look correct. Can you send the register settings? 

    Suramya

  • Hello Suramya:

    I am very sorry that I don't seem to know the file called "Metrilus LongRange(HW)".

    I am using the latest voxelsdk source code from Github to compile the library files of the windows platform. It seems that I have not found the file you said. Can you say more in detail? Thank you very much.

    Or are you talking about this file ?(The file name was originally OPT9220.DML. But since the .dml file can't be uploaded, I rename it to OPT9220.txt)

    If it is not this file, please give me a file instance.

    Thank you every much for helping me with my study! it is every important to me.OPT9220.txt

  • Hi!

    Which software are you using to visualize phase and amplitude? It does not look as if you're using VoxelSDK/ Voxel Viewer.

    OPT9220 is an older controller - we do not support this anymore. Are you using the RTS5825 camera or OPT8241-CDK_EVM?

    By register settings, I mean, please read all registers from the Camera and send them as a text file. We do not require the dml file.

    Suramya
  • Hello Suramya:
    The software is written by myself using the API of voxelsdk .Hardware devices are OPT8241-CDK_EVM and OPT9220.
    Suddenly I was struck with an idea that because the voxelsdk I got on Github is the latest released version while the latest voxelsdk.conf file and .dml file dosen't support OPT9220 anymore--that's why my image has so much noise. I used to use the latest voxelsdk to light up the OPT8320 but failed. Then I changed the .conf file and the .dml file to v0.6.9 and it was lit up successfully. If that is possible, which version of the configuration file supports OPT9220?

    About reading all regisiters from the camera, it takes some time and I will send you later.

    Many thanks for your help.
  • Hi,

    There are a few things that we would like to clarify:

    1. Noise in the image is most probably because of the hardware and settings. Not the software. If you are able to get frames, that is the extent of the software.
    2. OPT8241, OPT9220, OPT8320 are 3 separate chipsets. We first need to understand which one you are referring to. If you have OPT8241-CDK-EVM, please use voxel viewer and share a .vxl file as an image capture with us. We would like to see that first and then we can comment further. If it is not OPT8241_cdk_EVM, we would like to look at the schematics of the hardware. Can you please share your hardware schematics?

    Please share the hardware schematics along with the register dump and vxl frames.

    Regards,
    Subhash
  • Hi Subhash:

    I am really sorry, I am mixed up.The chipset is OPT9220. And I don't know how to get vxl frames.

    Again sorry for my negligence

    Regards!
  • Hi,

    I just wanted some clarification. No issues!
    OPT9220 is part of an old chipset with 320X240 resolution. We would recommend that you use OPT8241 + OPT9221 if it is a new design. We don't support OPT9220 for new designs.

    Can you also share your schematics, layout with us?

    Regards,
    Subhash

  • Closing thread due to inactivity.