Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. Video and Image Sensors
  4. DFS undistort issue

DFS undistort issue

Scheduled Pinned Locked Moved Video and Image Sensors
2 Posts 2 Posters 808 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SKA
    Contributor
    wrote on last edited by SKA
    #1

    Hi! I'm trying to set up DFS using ar0144 cameras. I have the voxl-camera-server side working, and I'm able to view the stereo preview stream on voxl-portal. I've set up my extrinsics and intrinsics using voxl-calibrate-cameras and have acceptable reprojection error.
    However, when I run voxl-dfs-server I get these errors:

    ERROR computing undistort on left image in mcv_cvp_undistort_and_dfs_process
    ERROR performing undistort+DFS pipeline
    ERROR computing UD+DFS pipeline on CVP
    

    Whether I enable or disable cvp rectification in the .conf file, I am facing errors. Let me know how I might be able to resolve this, thanks!

    Alex KushleyevA 1 Reply Last reply
    0
    • S SKA

      Hi! I'm trying to set up DFS using ar0144 cameras. I have the voxl-camera-server side working, and I'm able to view the stereo preview stream on voxl-portal. I've set up my extrinsics and intrinsics using voxl-calibrate-cameras and have acceptable reprojection error.
      However, when I run voxl-dfs-server I get these errors:

      ERROR computing undistort on left image in mcv_cvp_undistort_and_dfs_process
      ERROR performing undistort+DFS pipeline
      ERROR computing UD+DFS pipeline on CVP
      

      Whether I enable or disable cvp rectification in the .conf file, I am facing errors. Let me know how I might be able to resolve this, thanks!

      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      @SKA , this is most likely due to the max disparity value being too large - for 1280x800 resolution the maximum value is 32.

      the max disparity parameter limit is as follows:

      • width <= 640 : max disparity = 64 (or less, in steps of 4)
      • 640 < width <= 1280 : max disparity 32 (or less in steps of 4)
      • 1280 < width <= 1920: 16, 12,8, or 4

      So in your case, you should update your max disparity parameter to 32 or less.

      I have been testing AR0144 DFS recently and i also found that i needed to increase the min_threshold and cost_threshold from the default of 10 that was used for OV7251. I found that values in the range of 50-80 produced good results.

      Here is some additional information regarding DFS:

      min_threshold:
      Lower bound for adjusting occlusion cost threshold.
      When set to < cost_threshold, the occlusion penalty
      is varied linearly from this minimum value from the first row
      to the last row.
      The last row takes cost_threshold.
      Range: 0 to 100
      Recommended range: 50 to 75
      min_threshold <= cost_threshold

      cost_threshold:
      Occlusion cost threshold.
      The higher the value, more smoothness is enforced.
      Range: 0 to 100
      Recommended range: 50 to 75

      Alex

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      ModalAI
      Categories Recent Tags ModalAI.com Docs
      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups