@@ -147,11 +147,11 @@ class ImageConverter
147147 bool parse_parameters ( const OIIO::ArgParse &arg_parser );
148148
149149 // / Collects all illuminants supported by this version.
150- std::vector<std::string> supported_illuminants () ;
150+ std::vector<std::string> get_supported_illuminants () const ;
151151
152152 // / Collects all camera models for which spectral sensitivity data is
153153 // / available in the database.
154- std::vector<std::string> supported_cameras () ;
154+ std::vector<std::string> get_supported_cameras () const ;
155155
156156 // / Configures the converter using the requested white balance and colour
157157 // / matrix method, and the metadata of the file provided in `input_file`.
@@ -160,14 +160,14 @@ class ImageConverter
160160 // / decode the pixels.
161161 // / @param input_filename
162162 // / A file name of the raw image file to read the metadata from.
163- // / @param options
163+ // / @param hints
164164 // / Conversion hints to be passed to OIIO when reading an image file.
165165 // / The list can be pre- or post- updated with other hints, unrelated to
166166 // / the rawtoaces conversion.
167167 // / @result
168168 // / `true` if configured successfully.
169169 bool configure (
170- const std::string &input_filename, OIIO::ParamValueList &options );
170+ const std::string &input_filename, const OIIO::ParamValueList &hints );
171171
172172 // / Configures the converter using the requested white balance and colour
173173 // / matrix method, and the metadata of the given OIIO::ImageSpec object.
@@ -181,8 +181,8 @@ class ImageConverter
181181 // / the rawtoaces conversion.
182182 // / @result
183183 // / `true` if configured successfully.
184- bool
185- configure ( const OIIO::ImageSpec &imageSpec, OIIO::ParamValueList &hints );
184+ bool configure (
185+ const OIIO::ImageSpec &imageSpec, const OIIO::ParamValueList &hints );
186186
187187 // / Load an image from a given `path` into a `buffer` using the `hints`
188188 // / calculated by the `configure` method. The hints can be manually
@@ -261,19 +261,19 @@ class ImageConverter
261261 // / image. The multipliers become available after calling either of the
262262 // / two `configure` methods.
263263 // / @result a reference to the multipliers vector.
264- const std::vector<double > &get_WB_multipliers ();
264+ const std::vector<double > &get_WB_multipliers () const ;
265265
266266 // / Get the solved input transform matrix of the currently processed image.
267267 // / The multipliers become available after calling either of the two
268268 // / `configure` methods.
269269 // / @result a reference to the matrix.
270- const std::vector<std::vector<double >> &get_IDT_matrix ();
270+ const std::vector<std::vector<double >> &get_IDT_matrix () const ;
271271
272272 // / Get the solved chromatic adaptation transform matrix of the currently
273273 // / processed image. The multipliers become available after calling either
274274 // / of the two `configure` methods.
275275 // / @result a reference to the matrix.
276- const std::vector<std::vector<double >> &get_CAT_matrix ();
276+ const std::vector<std::vector<double >> &get_CAT_matrix () const ;
277277
278278private:
279279 // Solved transform of the current image.
0 commit comments