|
Blender V4.3
|
#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 88 of file denoising.h.
| DenoiseImage::DenoiseImage | ( | ) |
Definition at line 317 of file denoising.cpp.
References height, num_channels, samples, and width.
| DenoiseImage::~DenoiseImage | ( | ) |
Definition at line 325 of file denoising.cpp.
References free().
|
protected |
Definition at line 330 of file denoising.cpp.
References in_previous.
Referenced by free(), and save_output().
| void DenoiseImage::free | ( | ) |
Definition at line 335 of file denoising.cpp.
References close_input().
Referenced by ~DenoiseImage().
| bool DenoiseImage::load | ( | const string & | in_filepath, |
| string & | error ) |
Definition at line 468 of file denoising.cpp.
References error(), height, in_spec, num_channels, parse_channels(), 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 341 of file denoising.cpp.
References error(), in_spec, DenoiseImageLayer::name, parse_channel_name(), 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, INPUT_DENOISING_ALBEDO, INPUT_DENOISING_NORMAL, INPUT_MOTION, INPUT_NOISY_IMAGE, num_channels, params, PASS_COMBINED, PASS_DENOISING_ALBEDO, PASS_DENOISING_NORMAL, PASS_MOTION, 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, in_previous, num_channels, params, PASS_DENOISING_PREVIOUS, and width.
| bool DenoiseImage::save_output | ( | const string & | out_filepath, |
| string & | error ) |
Definition at line 539 of file denoising.cpp.
References close_input(), error(), in_spec, samples, string_printf(), and unique_name().
| int DenoiseImage::height |
Definition at line 94 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 104 of file denoising.h.
Referenced by close_input(), load_previous(), and read_previous_pixels().
| ImageSpec DenoiseImage::in_spec |
Definition at line 103 of file denoising.h.
Referenced by load(), load_previous(), parse_channels(), and save_output().
| vector<DenoiseImageLayer> DenoiseImage::layers |
Definition at line 107 of file denoising.h.
Referenced by load_previous().
| int DenoiseImage::num_channels |
Definition at line 94 of file denoising.h.
Referenced by DenoiseImage(), load(), read_pixels(), and read_previous_pixels().
Definition at line 100 of file denoising.h.
| int DenoiseImage::samples |
Definition at line 97 of file denoising.h.
Referenced by DenoiseImage(), parse_channels(), and save_output().
| int DenoiseImage::width |
Definition at line 94 of file denoising.h.
Referenced by DenoiseImage(), load(), load_previous(), read_pixels(), and read_previous_pixels().