r3detedm

r3detedm

Class

plugins/postproc/detedge/r3detedm.h

Library

r3detedg

Description:

Edge detection post effect model

See Also

real/code/r3postim.h

Super Class

r3Postimageeffectmodel

R3CLID_POSTIMAGEEFFECTMODEL

JavaScript

r3Edgedetectionmodel

Class Identifier

R3CLID_EDGEDETECTIONMODEL - 1502

Methods

Attributes

Threshold, InChannel, OutChannel, Geometric, NormalThreshold, TangentCorrection, RelativeDistance,

Threshold

Attribute

Threshold

Identifier

R3EDETMA_Threshold

JavaScript type

Number

C type

R3FLOAT

Description

RFLOAT , threshold

Syntax


jsobj.SetThreshold(value);
value = jsobj.GetThreshold();


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3EDETMA_Threshold, value, R3TAG_END);
R3FLOAT value;
R3GetAttrs(r3obj, R3EDETMA_Threshold, &value, R3TAG_END);

InChannel

Attribute

InChannel

Identifier

R3EDETMA_InChannel

JavaScript type

String

C type

char*

Description

channel to be examined

Syntax


jsobj.SetInChannel(value);
value = jsobj.GetInChannel();


char* value = ...;
R3SetAttrs(r3obj, R3EDETMA_InChannel, value, R3TAG_END);
char* value;
R3GetAttrs(r3obj, R3EDETMA_InChannel, &value, R3TAG_END);

OutChannel

Attribute

OutChannel

Identifier

R3EDETMA_OutChannel

JavaScript type

String

C type

char*

Description

channel to be changed

Syntax


jsobj.SetOutChannel(value);
value = jsobj.GetOutChannel();


char* value = ...;
R3SetAttrs(r3obj, R3EDETMA_OutChannel, value, R3TAG_END);
char* value;
R3GetAttrs(r3obj, R3EDETMA_OutChannel, &value, R3TAG_END);

Geometric

Attribute

Geometric

Identifier

R3EDETMA_Geometric

JavaScript type

Boolean

C type

R3BOOL

Description

if true geometric continuity is used instead of InChannel

Syntax


jsobj.SetGeometric(value);
value = jsobj.GetGeometric();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3EDETMA_Geometric, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3EDETMA_Geometric, &value, R3TAG_END);

NormalThreshold

Attribute

NormalThreshold

Identifier

R3EDETMA_NormalThreshold

JavaScript type

Number

C type

R3FLOAT

Description

Syntax


jsobj.SetNormalThreshold(value);
value = jsobj.GetNormalThreshold();


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3EDETMA_NormalThreshold, value, R3TAG_END);
R3FLOAT value;
R3GetAttrs(r3obj, R3EDETMA_NormalThreshold, &value, R3TAG_END);

TangentCorrection

Attribute

TangentCorrection

Identifier

R3EDETMA_TangentCorrection

JavaScript type

Number

C type

R3FLOAT

Description

Syntax


jsobj.SetTangentCorrection(value);
value = jsobj.GetTangentCorrection();


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3EDETMA_TangentCorrection, value, R3TAG_END);
R3FLOAT value;
R3GetAttrs(r3obj, R3EDETMA_TangentCorrection, &value, R3TAG_END);

RelativeDistance

Attribute

RelativeDistance

Identifier

R3EDETMA_RelativeDistance

JavaScript type

Boolean

C type

R3BOOL

Description

Syntax


jsobj.SetRelativeDistance(value);
value = jsobj.GetRelativeDistance();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3EDETMA_RelativeDistance, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3EDETMA_RelativeDistance, &value, R3TAG_END);