Skip to content

Commit

Permalink
fix(CameraEngine.cpp): fix a bug for encoding stripe.
Browse files Browse the repository at this point in the history
  • Loading branch information
Practice3DVision committed Mar 28, 2024
1 parent c8f560a commit 402c9af
Show file tree
Hide file tree
Showing 67 changed files with 582 additions and 994 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project(SLMaster)
set(CMAKE_EXPORT_COMPILE_COMMANDS TRUE)
set(CMAKE_BUILD_TYPE Release)
#Release模式必须使用以下属性
set(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} /DEBUG /O2 /Zi")
set(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} /O2 /Zi")

add_subdirectory(FluentUI)
add_subdirectory(QuickQanava)
Expand Down
Binary file removed data/L/0.bmp
Binary file not shown.
Binary file removed data/L/1.bmp
Binary file not shown.
Binary file removed data/L/10.bmp
Binary file not shown.
Binary file removed data/L/11.bmp
Binary file not shown.
Binary file removed data/L/12.bmp
Binary file not shown.
Binary file removed data/L/13.bmp
Binary file not shown.
Binary file removed data/L/14.bmp
Binary file not shown.
Binary file removed data/L/15.bmp
Binary file not shown.
Binary file removed data/L/16.bmp
Binary file not shown.
Binary file removed data/L/17.bmp
Binary file not shown.
Binary file removed data/L/18.bmp
Binary file not shown.
Binary file removed data/L/2.bmp
Binary file not shown.
Binary file removed data/L/3.bmp
Binary file not shown.
Binary file removed data/L/4.bmp
Binary file not shown.
Binary file removed data/L/5.bmp
Binary file not shown.
Binary file removed data/L/6.bmp
Binary file not shown.
Binary file removed data/L/7.bmp
Binary file not shown.
Binary file removed data/L/8.bmp
Binary file not shown.
Binary file removed data/L/9.bmp
Binary file not shown.
Binary file removed data/R/0.bmp
Binary file not shown.
Binary file removed data/R/1.bmp
Binary file not shown.
Binary file removed data/R/10.bmp
Binary file not shown.
Binary file removed data/R/11.bmp
Binary file not shown.
Binary file removed data/R/12.bmp
Binary file not shown.
Binary file removed data/R/13.bmp
Binary file not shown.
Binary file removed data/R/14.bmp
Binary file not shown.
Binary file removed data/R/15.bmp
Binary file not shown.
Binary file removed data/R/16.bmp
Binary file not shown.
Binary file removed data/R/17.bmp
Binary file not shown.
Binary file removed data/R/18.bmp
Binary file not shown.
Binary file removed data/R/2.bmp
Binary file not shown.
Binary file removed data/R/3.bmp
Binary file not shown.
Binary file removed data/R/4.bmp
Binary file not shown.
Binary file removed data/R/5.bmp
Binary file not shown.
Binary file removed data/R/6.bmp
Binary file not shown.
Binary file removed data/R/7.bmp
Binary file not shown.
Binary file removed data/R/8.bmp
Binary file not shown.
Binary file removed data/R/9.bmp
Binary file not shown.
86 changes: 0 additions & 86 deletions data/caliInfo.yml

This file was deleted.

2 changes: 1 addition & 1 deletion gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ else()
list(APPEND SLMasterGuiDEPLIBS fluentuiplugin)
endif()

add_executable(SLMasterGui)
add_executable(SLMasterGui WIN32)
target_sources(SLMasterGui PRIVATE ${SOURCES} ${QML} ${QRC})
target_include_directories(SLMasterGui PRIVATE QuickQanava ${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_SOURCE_DIR}/src/calibrationMaster ${CMAKE_CURRENT_SOURCE_DIR}/src/nodes Qt${QT_VERSION_MAJOR}::QuickControls2)
target_link_libraries(SLMasterGui PRIVATE ${SLMasterGuiDEPLIBS} ${VTK_LIBRARIES} ${PCL_LIBRARIES})
Expand Down
6 changes: 3 additions & 3 deletions gui/qml/res/config/binocularCameraConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"type" : "number"
},
{
"data" : 64.0,
"data" : 32.0,
"title" : "Cycles",
"type" : "number"
},
Expand Down Expand Up @@ -106,7 +106,7 @@
"type" : "bool"
},
{
"data" : 0,
"data" : 1,
"title" : "Gpu Accelerate",
"type" : "bool"
},
Expand All @@ -116,7 +116,7 @@
"type" : "bool"
},
{
"data" : 1,
"data" : 0,
"title" : "Noise Filter",
"type" : "bool"
}
Expand Down
203 changes: 0 additions & 203 deletions gui/qml/res/config/binoocularCameraConfig.json

This file was deleted.

3 changes: 3 additions & 0 deletions gui/qml/ui/global/Lang.qml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ QtObject {
property string width
property string height
property string length
property string inverse

function zh() {
settings = "设置";
Expand Down Expand Up @@ -513,6 +514,7 @@ QtObject {
width = "宽度";
height = "高度";
length = "长度";
inverse = "翻转特征方向";
}

function en() {
Expand Down Expand Up @@ -770,6 +772,7 @@ QtObject {
width = "Width";
height = "Height";
length = "Length";
inverse = "Inverse"
}

property string __locale
Expand Down
9 changes: 9 additions & 0 deletions gui/qml/ui/page/SubPage_OfflineCameraCalibration.qml
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,24 @@ FluContentPage{
text: Lang.remove
onTriggered: {
if(tree_view.currentNode.parent.title === "Left Camera") {
CalibrateEngine.removeCameraImg(tree_view.currentNode.title, true);
left_camera_model.erase(tree_view.currentNode.title);
updateImgPaths(left_camera_model.imgPaths(), 0);
}
else {
CalibrateEngine.removeCameraImg(tree_view.currentNode.title, false);
right_camera_model.erase(tree_view.currentNode.title);
updateImgPaths(right_camera_model.imgPaths(), 1);
}
}
}

Action {
text: Lang.inverse
onTriggered: {
CalibrateEngine.invFeattureDirection(tree_view.currentNode.title, tree_view.currentNode.parent.title === "Left Camera");
}
}
}
}
}
Expand Down
Loading

0 comments on commit 402c9af

Please sign in to comment.