|
Blender V5.0
|
#include <denoising.h>
Public Member Functions | |
| DenoiseImage () | |
| ~DenoiseImage () | |
| void | free () |
| bool | load (const string &in_filepath, string &error) |
| bool | load_previous (const string &in_filepath, string &error) |
| void | read_pixels (const DenoiseImageLayer &layer, const BufferParams ¶ms, float *input_pixels) |
| bool | read_previous_pixels (const DenoiseImageLayer &layer, const BufferParams ¶ms, float *input_pixels) |
| bool | save_output (const string &out_filepath, string &error) |
Public Attributes | |
| int | width |
| int | height |
| int | num_channels |
| int | samples |
| array< float > | pixels |
| ImageSpec | in_spec |
| unique_ptr< ImageInput > | in_previous |
| vector< DenoiseImageLayer > | layers |
Protected Member Functions | |
| bool | parse_channels (const ImageSpec &in_spec, string &error) |
| void | close_input () |
Definition at line 90 of file denoising.h.
| DenoiseImage::DenoiseImage | ( | ) |
Definition at line 315 of file denoising.cpp.
References height, num_channels, samples, and width.
| DenoiseImage::~DenoiseImage | ( | ) |
Definition at line 323 of file denoising.cpp.
References free().
|
protected |
Definition at line 328 of file denoising.cpp.
References in_previous.
Referenced by free(), and save_output().
| void DenoiseImage::free | ( | ) |
Definition at line 333 of file denoising.cpp.
References close_input(), and pixels.
Referenced by ~DenoiseImage().
| bool DenoiseImage::load | ( | const string & | in_filepath, |
| string & | error ) |
Definition at line 468 of file denoising.cpp.
References error(), height, in, in_spec, layers, num_channels, parse_channels(), pixels, and width.
| bool DenoiseImage::load_previous | ( | const string & | in_filepath, |
| string & | error ) |
Definition at line 508 of file denoising.cpp.
References error(), height, in_previous, in_spec, layers, and width.
|
protected |
Definition at line 339 of file denoising.cpp.
References DenoiseImageLayer::detect_denoising_channels(), error(), i, in_spec, layers, DenoiseImageLayer::name, name, parse_channel_name(), samples, DenoiseImageLayer::samples, and string_printf().
Referenced by load().
| void DenoiseImage::read_pixels | ( | const DenoiseImageLayer & | layer, |
| const BufferParams & | params, | ||
| float * | input_pixels ) |
Definition at line 403 of file denoising.cpp.
References height, i, INPUT_DENOISING_ALBEDO, INPUT_DENOISING_NORMAL, INPUT_MOTION, INPUT_NOISY_IMAGE, DenoiseImageLayer::input_to_image_channel, num_channels, params, PASS_COMBINED, PASS_DENOISING_ALBEDO, PASS_DENOISING_NORMAL, PASS_MOTION, pixels, and width.
| bool DenoiseImage::read_previous_pixels | ( | const DenoiseImageLayer & | layer, |
| const BufferParams & | params, | ||
| float * | input_pixels ) |
Definition at line 439 of file denoising.cpp.
References array< T, alignment >::data(), height, i, in_previous, num_channels, params, PASS_DENOISING_PREVIOUS, DenoiseImageLayer::previous_output_to_image_channel, and width.
| bool DenoiseImage::save_output | ( | const string & | out_filepath, |
| string & | error ) |
Definition at line 539 of file denoising.cpp.
References close_input(), error(), i, in_spec, layers, name, out, pixels, samples, string_printf(), and unique_name().
| int DenoiseImage::height |
Definition at line 96 of file denoising.h.
Referenced by DenoiseImage(), load(), load_previous(), read_pixels(), and read_previous_pixels().
| unique_ptr<ImageInput> DenoiseImage::in_previous |
Definition at line 106 of file denoising.h.
Referenced by close_input(), load_previous(), and read_previous_pixels().
| ImageSpec DenoiseImage::in_spec |
Definition at line 105 of file denoising.h.
Referenced by load(), load_previous(), parse_channels(), and save_output().
| vector<DenoiseImageLayer> DenoiseImage::layers |
Definition at line 109 of file denoising.h.
Referenced by load(), load_previous(), parse_channels(), and save_output().
| int DenoiseImage::num_channels |
Definition at line 96 of file denoising.h.
Referenced by DenoiseImage(), load(), read_pixels(), and read_previous_pixels().
Definition at line 102 of file denoising.h.
Referenced by free(), load(), read_pixels(), and save_output().
| int DenoiseImage::samples |
Definition at line 99 of file denoising.h.
Referenced by DenoiseImage(), parse_channels(), and save_output().
| int DenoiseImage::width |
Definition at line 96 of file denoising.h.
Referenced by DenoiseImage(), load(), load_previous(), read_pixels(), and read_previous_pixels().