Shading

_CaptureShading, _DeleteShadings, _ImageSaveAsShading, _ShowShading, ApplyShading, AutoshadeAtOnce, AutoshadeAtOnceND, EnableCommonShading, EnableShading, EnableShadingFQ, GetShadingEnabled, ToggleShading

ApplyShading

Description 

 ApplyShading();

This function makes shading correction on the current image.

See Also 
_ShowShading, _DeleteShadings, EnableShading, EnableShadingFQ

AutoshadeAtOnce

Description 

 AutoshadeAtOnce(
   int  ShadingKnots,
   int  ShadingDirection
);

This function performs the autoshading correction on the current image.

Parameters

int ShadingKnots

Number of shading knots

int ShadingDirection

Shading direction.

1

Converges to white

-1

Converges to black

AutoshadeAtOnceND

Description 

 AutoshadeAtOnceND(
   int  ShadingKnots,
   int  ShadingDirection
);

This function performs the autoshading correction on the current ND image.

Parameters

int ShadingKnots

Number of shading knots

int ShadingDirection

Shading direction.

1

Converges to white

-1

Converges to black

EnableCommonShading

Description 

 EnableCommonShading(
   int  Shading
);

This function switches enables/disables usage of the common shading.

Parameters

int Shading

Common shading enabled/disabled

0

common shading disabled

1

common shading enabled

EnableShading

Description 

 EnableShading(
   int  Shading
);

This function enables/disables shading correction.

Parameters

int Shading

enable/disable shading correction in one or both capture modes (fast, quality), of course if defined

0

disables shading in fast and also in quality modes

1

disables shading in fast mode and enables shading in quality mode

2

enables shading in fast and quality modes

See Also 
EnableShadingFQ, GetShadingEnabled

EnableShadingFQ

Description 

 EnableShadingFQ(
   int  ModeOperation,
   int  Enabled
);

This function enables/disables the shading correction.

Parameters

int ModeOperation

specifies one of the capture modes - fast or quality.

1

fast mode

2

quality mode

int Enabled

0

Disabled.

1

Enabled.

Note

remember, that this function does not allow you to set the shading for the modes entirely independently. It is not possible to enable shading for fast mode and disable for quality mode.

See Also 
EnableShading

GetShadingEnabled

Description 

 GetShadingEnabled();

This function returns the state which was set using the EnableShading function.

See Also 
EnableShading

ToggleShading

Description 

 ToggleShading();

This function turns the shading correction on/off.

_CaptureShading

Description 

 _CaptureShading();

This function captures the shading correction image.

See Also 
_ShowShading, ApplyShading

_DeleteShadings

Description 

 _DeleteShadings();

The function deletes the shading images.

See Also 
_CaptureShading, _ShowShading

_ImageSaveAsShading

Description 

 _ImageSaveAsShading();

This function saves the current image as a shading image.

See Also 
_ShowShading, ApplyShading, _DeleteShadings, EnableShading, EnableShadingFQ

_ShowShading

Description 

 _ShowShading();

This function displays the current shading image.

See Also 
ApplyShading, _DeleteShadings, EnableShading, EnableShadingFQ, _ImageSaveAsShading