You need to enable JavaScript to run this app.Basic - GammaCV
GammaCV Logo
DocsExamplesGitHub

Basic

Description

Basic mathematical operations

Sub

Description

Pixel-wise substruction A - B

Params
tATensorThe first input
tBTensorThe second input
Example
gm.sub(A, B);

Add

Description

Pixel-wise sum A + B

Params
tATensorThe first input
tBTensorThe second input
Example
gm.add(A, B);

Div

Description

Pixel-wise divide A / B

Params
tATensorThe first input
tBTensorThe second input
Example
gm.div(A, B);

Mult

Description

Pixel-wise muliply A * B

Params
tATensorThe first input
tBTensorThe second input
Example
gm.mult(A, B);

SubScalar

Description

A - scalar

Params
tATensorInput
scalarnumberScalar
Example
gm.subScalar(A, 0.5);

AddScalar

Description

A + scalar

Params
tATensorInput
scalarnumberScalar
Example
gm.addScalar(A, 0.5);

DivScalar

Description

A / scalar

Params
tATensorInput
scalarnumberScalar
Example
gm.divScalar(A, 0.5);

MultScalar

Description

A * scalar

Params
tATensorInput
scalarnumberScalar
Example
gm.multScalar(A, 0.5);