From 6bc911fa7ded6f985b65dcabacb5ccfed50b5175 Mon Sep 17 00:00:00 2001
From: tee1g21 <92794120+tee1g21@users.noreply.github.com>
Date: Tue, 3 Dec 2024 18:07:32 +0000
Subject: [PATCH] Initial Commit - Added script files

---
 scripts/Depth2Disparity/abs2disparity.py | 2 ++
 scripts/Depth2Disparity/relative2abs.py  | 4 ++++
 2 files changed, 6 insertions(+)
 create mode 100644 scripts/Depth2Disparity/abs2disparity.py
 create mode 100644 scripts/Depth2Disparity/relative2abs.py

diff --git a/scripts/Depth2Disparity/abs2disparity.py b/scripts/Depth2Disparity/abs2disparity.py
new file mode 100644
index 0000000..0f9a470
--- /dev/null
+++ b/scripts/Depth2Disparity/abs2disparity.py
@@ -0,0 +1,2 @@
+# takes absolute depth map and converts to disparity map
+# uses disparity and depth relationship
\ No newline at end of file
diff --git a/scripts/Depth2Disparity/relative2abs.py b/scripts/Depth2Disparity/relative2abs.py
new file mode 100644
index 0000000..a12d749
--- /dev/null
+++ b/scripts/Depth2Disparity/relative2abs.py
@@ -0,0 +1,4 @@
+# takes 2 pixel coordinates and corresponding distance values - and a relative depth map
+# caculates relative to absolute function - if linear
+# applies function to relative depth map to get absolute depth map
+# then convert to disparity map
\ No newline at end of file
-- 
GitLab