public static enum SoArithmeticValueProcessing.ArithmeticOperators extends java.lang.Enum<SoArithmeticValueProcessing.ArithmeticOperators> implements IntegerValuedEnum
Enum Constant and Description |
---|
ADD
The ADD arithmetic operator adds image
![]() |
DIVIDE
The DIVIDE arithmetic operator divides an image
![]() |
MAXIMUM
The MAXIMUM arithmetic operator computes the maximum value between an image
![]() |
MINIMUM
The MINIMUM arithmetic operator computes the minimum value between an image and a constant C.
|
MULTIPLY
The MULTIPLY arithmetic operator multiplies an image
![]() |
SUBTRACT
The SUBTRACT arithmetic operator subtract a constant C from an image.
|
Modifier and Type | Method and Description |
---|---|
static SoArithmeticValueProcessing.ArithmeticOperators |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoArithmeticValueProcessing.ArithmeticOperators |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoArithmeticValueProcessing.ArithmeticOperators |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoArithmeticValueProcessing.ArithmeticOperators[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoArithmeticValueProcessing.ArithmeticOperators ADD
Remarks:
public static final SoArithmeticValueProcessing.ArithmeticOperators SUBTRACT
Remarks:
public static final SoArithmeticValueProcessing.ArithmeticOperators MULTIPLY
Remarks:
public static final SoArithmeticValueProcessing.ArithmeticOperators DIVIDE
Remarks:
public static final SoArithmeticValueProcessing.ArithmeticOperators MINIMUM
For binary image, the MINIMUM operator is equivalent to a logical AND.
public static final SoArithmeticValueProcessing.ArithmeticOperators MAXIMUM
For binary image, the MAXIMUM operator is equivalent to a logical OR.
public static SoArithmeticValueProcessing.ArithmeticOperators[] values()
for (SoArithmeticValueProcessing.ArithmeticOperators c : SoArithmeticValueProcessing.ArithmeticOperators.values()) System.out.println(c);
public static SoArithmeticValueProcessing.ArithmeticOperators valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static SoArithmeticValueProcessing.ArithmeticOperators fromValue(int val)
valueOf(int)
instead.public static SoArithmeticValueProcessing.ArithmeticOperators valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com