Skip to content

copper3d / Modules / Utils/volumeExposure

Module: Utils/volumeExposure

Table of contents

Interfaces

Variables

Functions

Variables

DEFAULT_TARGET_GREY

Const DEFAULT_TARGET_GREY: 75

Where the median tissue voxel should land on the 0-255 greyscale.

Defined in

src/Utils/volumeExposure.ts:26

Functions

exposureExponent

exposureExponent(volume, targetGrey?): number

The gamma exponent that puts volume's median tissue voxel on targetGrey, or 1 when it needs no lift or cannot be measured.

Solving per volume is what makes volumes with wildly different maxima come out looking alike.

Parameters

NameTypeDefault value
volumeExposureVolumeundefined
targetGreynumberDEFAULT_TARGET_GREY

Returns

number

Defined in

src/Utils/volumeExposure.ts:75