dng_noise_function Class Reference

Noise model for photon and sensor read noise, assuming that they are independent random variables and spatially invariant. More...

#include <dng_negative.h>

Inheritance diagram for dng_noise_function:

dng_1d_function

List of all members.


Public Member Functions

 dng_noise_function (real64 scale, real64 offset)
virtual real64 Evaluate (real64 x) const
real64 Scale () const
real64 Offset () const
void SetScale (real64 scale)
void SetOffset (real64 offset)
bool IsValid () const

Protected Attributes

real64 fScale
real64 fOffset

Detailed Description

Noise model for photon and sensor read noise, assuming that they are independent random variables and spatially invariant.

The noise model is N (x) = sqrt (scale*x + offset), where x represents a linear signal value in the range [0,1], and N (x) is the standard deviation (i.e., noise). The parameters scale and offset are both sensor-dependent and ISO-dependent. scale must be positive, and offset must be non-negative.


Member Function Documentation

virtual real64 dng_noise_function::Evaluate ( real64  x  )  const [inline, virtual]

Return the mapping for value x. This method must be implemented by a derived class of dng_1d_function and the derived class determines the lookup method and function used.

Parameters:
x A value between 0.0 and 1.0 (inclusive).
Return values:
Mapped value for x

Implements dng_1d_function.


The documentation for this class was generated from the following file:

Copyright © 2006-2009 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google