OENegativeImageTypeGetValue

OENegativeImageTypeGetValue(name: str) -> int

Returns the value of a constant from the OENegativeImageType namespace associated with the scoring function name, or OENegativeImageType_INVALID if the name is not recognized.

OENegativeImageTypeGetValue(itf: OEInterface, parameter: str) -> int

Used in conjunction with the OENegativeImageTypeConfigure function. Returns a constant from the OENegativeImageType namespace associated with the negative image type the user specified on the command line, or OENegativeImageType_Default if the user did not specify a value. itf and flagName should be the same as those passed to the OENegativeImageTypeConfigure function and OEParseCommandLine should have been called on itf.