Change mP1 and mP2 values
authorTae-Young Chung <ty83.chung@samsung.com>
Mon, 2 May 2022 02:33:09 +0000 (11:33 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Mon, 2 May 2022 02:33:16 +0000 (11:33 +0900)
[Version] 1.0.3-0
[Issue type] update

dfs now handles gray level color space. In case of that, the values of
mP1 and P2 should be adjusted.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
packaging/dfs-opencv.spec
src/dfs_opencv.cpp

index 1ef6500d5d3a0224f26378addfda964bc615f1ab..7a7aa683a86a64a5d57209a6502de3fa78417e26 100644 (file)
@@ -1,7 +1,7 @@
 Name:       dfs-opencv
 Summary:    OpenCV based Depth-from-Stereo implementation
-Version:    1.0.2
-Release:    2
+Version:    1.0.3
+Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
index d3010e50067946191453115201ff147d4a812caf..d73e2cfd0c6688747fcdb8d913b1ebe91f9b3964 100644 (file)
@@ -32,8 +32,8 @@ namespace DfsAdaptationImpl
                mNumDisparities(64),
                mBlockSize(5),
                mMinDisparity(32),
-               mP1(24*3),
-               mP2(96*3),
+               mP1(24*1),
+               mP2(96*1),
                mPreFilterCap(63),
                mDispMat(),
                mDepthData(),