Skip to content

/AWS1/CL_REKDETECTLABELSIMAG01

Information about the quality and dominant colors of an input image. Quality and color information is returned for the entire image, foreground, and background.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_quality TYPE REF TO /AWS1/CL_REKDETECTLABELSIMAG02 /AWS1/CL_REKDETECTLABELSIMAG02

Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.

it_dominantcolors TYPE /AWS1/CL_REKDOMINANTCOLOR=>TT_DOMINANTCOLORS TT_DOMINANTCOLORS

Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

io_foreground TYPE REF TO /AWS1/CL_REKDETECTLABELSIMAG03 /AWS1/CL_REKDETECTLABELSIMAG03

Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.

io_background TYPE REF TO /AWS1/CL_REKDETECTLABELSIMAG04 /AWS1/CL_REKDETECTLABELSIMAG04

Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.


Queryable Attributes

Quality

Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.

Accessible with the following methods

Method Description
GET_QUALITY() Getter for QUALITY

DominantColors

Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

Accessible with the following methods

Method Description
GET_DOMINANTCOLORS() Getter for DOMINANTCOLORS, with configurable default
ASK_DOMINANTCOLORS() Getter for DOMINANTCOLORS w/ exceptions if field has no valu
HAS_DOMINANTCOLORS() Determine if DOMINANTCOLORS has a value

Foreground

Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.

Accessible with the following methods

Method Description
GET_FOREGROUND() Getter for FOREGROUND

Background

Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.

Accessible with the following methods

Method Description
GET_BACKGROUND() Getter for BACKGROUND