Img2nnimg

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

Purpose

Images in radiance or reflectance offset to all non-negative

Synopsis

x0 = img2nnimg(x,r0)

Description

Occasionally, an image measured in radiance will have <0 entries due to calibration errors. IMG2NNIMG finds pixels with <0 and adds a small offset such that the output has radiance as all non-negative.

Input

  • x = image of class 'dataset'.

Optional Input

  • r0 = smallest non-negative entry for output (x0). {default: r0 = 1e-6}

Output

  • x0 = image in radiance with all non-negative entries [class DataSet object].

See Also

blackbody_r, maxautofactors, spatial_filter, windowfilter