Skip to content

Commit

Permalink
wrn
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenyhraz committed Jun 4, 2024
1 parent 546aba0 commit caf95e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if(MSVC)
else()
add_compile_options(-march=native -fopenmp -pthread -lstdc++_libbacktrace)
add_compile_options(-Wall -Wfatal-errors -Wextra -Wpedantic -Wshadow)#-Werror
add_compile_options(-Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-function -Wno-sign-compare)
add_compile_options(-Wno-unused-parameter -Wno-unused-variable -Wno-missing-field-initializers -Wno-unused-function -Wno-sign-compare)
add_compile_options("$<$<CONFIG:DEBUG>:-g;-O0>")
add_compile_options("$<$<CONFIG:RELEASE>:-O3>")
add_compile_options("$<$<COMPILE_LANGUAGE:C>:-w>")
Expand Down
3 changes: 2 additions & 1 deletion src/ImageRegistration/IPCDebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ void IPCDebug::DebugGradualShift(const IPC& ipc, f64 maxShift, f64 noiseStdev)
LOG_FUNCTION;
ipc.SetDebugDirectory("../debug/peakshift");
const cv::Mat image1 = LoadUnitFloatImage<IPC::Float>("../debug/AIA/171A.png");
const cv::Mat crop1 = RoiCropMid(image1, ipc.mCols, ipc.mRows) + GetNoise<IPC::Float>(crop1.size(), noiseStdev);
cv::Mat crop1 = RoiCropMid(image1, ipc.mCols, ipc.mRows);
crop1 += GetNoise<IPC::Float>(crop1.size(), noiseStdev);
cv::Mat image2 = image1.clone();
cv::Mat crop2;
const i32 iters = 51;
Expand Down
2 changes: 1 addition & 1 deletion src/NDA
Submodule NDA updated from b1c7e7 to 3ef42b

0 comments on commit caf95e1

Please sign in to comment.