Skip to content

Commit d06b627

Browse files
committed
analysis
Signed-off-by: Anton Dukhovnikov <[email protected]>
1 parent 95d6f71 commit d06b627

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

include/rawtoaces/image_converter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#pragma once
55

6-
#include <OpenImageIO/imagebuf.h> // NOLINT
7-
#include <OpenImageIO/argparse.h> // NOLINT
6+
#include <OpenImageIO/imagebuf.h>
7+
#include <OpenImageIO/argparse.h>
88

99
namespace rta
1010
{

include/rawtoaces/rawtoaces_core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class SpectralSolver
170170
std::vector<SpectralData> _all_illuminants;
171171

172172
std::vector<double> _wb_multipliers;
173-
std::vector<std::vector<double>> _idt_matrix;
173+
std::vector<std::vector<double>> _IDT_matrix;
174174
};
175175

176176
/// DNG metadata required to calculate an input transform.

src/rawtoaces_core/rawtoaces_core.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,15 @@ SpectralSolver::SpectralSolver(
163163
: _search_directories( search_directories )
164164
{
165165
verbosity = 0;
166-
_idt_matrix.resize( 3 );
166+
_IDT_matrix.resize( 3 );
167167
_wb_multipliers.resize( 3 );
168168
for ( int i = 0; i < 3; i++ )
169169
{
170-
_idt_matrix[i].resize( 3 );
170+
_IDT_matrix[i].resize( 3 );
171171
_wb_multipliers[i] = 1.0;
172172
for ( size_t j = 0; j < 3; j++ )
173173
{
174-
_idt_matrix[i][j] = neutral3[i][j];
174+
_IDT_matrix[i][j] = neutral3[i][j];
175175
}
176176
}
177177
}
@@ -744,7 +744,7 @@ bool SpectralSolver::calculate_IDT_matrix()
744744
auto RGB = calculate_RGB( camera, _wb_multipliers, TI );
745745
auto XYZ = calculate_XYZ( observer, illuminant, TI );
746746

747-
return curveFit( RGB, XYZ, beta_params_start, verbosity, _idt_matrix );
747+
return curveFit( RGB, XYZ, beta_params_start, verbosity, _IDT_matrix );
748748
}
749749

750750
// =====================================================================
@@ -758,7 +758,7 @@ bool SpectralSolver::calculate_IDT_matrix()
758758

759759
const vector<vector<double>> &SpectralSolver::get_IDT_matrix() const
760760
{
761-
return _idt_matrix;
761+
return _IDT_matrix;
762762
}
763763

764764
const vector<double> &SpectralSolver::get_WB_multipliers() const

src/rawtoaces_util/image_converter.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#include <set>
99
#include <filesystem>
1010

11-
#include <OpenImageIO/imageio.h> // NOLINT
12-
#include <OpenImageIO/imagebuf.h> // NOLINT
13-
#include <OpenImageIO/imagebufalgo.h> // NOLINT
11+
#include <OpenImageIO/imageio.h>
12+
#include <OpenImageIO/imagebuf.h>
13+
#include <OpenImageIO/imagebufalgo.h>
1414

1515
namespace rta
1616
{
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# The paths are based on Ubuntu builds
2+
-/usr/include/OpenImageIO/detail/fmt/format.h
3+
-/usr/lib/llvm-22/lib/clang/22/include/cetintrin.h

tests/test_SpectralData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#endif
88

99
#include <filesystem>
10-
#include <OpenImageIO/unittest.h> // NOLINT
10+
#include <OpenImageIO/unittest.h>
1111

1212
#include "../src/rawtoaces_core/mathOps.h"
1313
#include <rawtoaces/rawtoaces_core.h>

0 commit comments

Comments
 (0)