Image

Image

new Image(commandopt, sourceopt)

Description:
  • Implements image processing, at a symbolic level, in this context.

    • An Image is defined by a:
      • A set of channels storing image computations.
      • A set of parameters extracted from image computations.
    • The implementation is based on opencv.
    • Available commands are defined as image setters.
Parameters:
Name Type Attributes Default Description
command string <optional>
copy

The command input parameters.

source Image <optional>

An optional source image, if needed.

Members

channels :Map

Description:
  • Low-level access to the Image internal elements

    • The std::map < std::string, cv::Mat > channels map of opencv cv::Mat is a read/write data struture member.
    • Each input/output channel is described in the corresponding setter description.

Low-level access to the Image internal elements

  • The std::map < std::string, cv::Mat > channels map of opencv cv::Mat is a read/write data struture member.
  • Each input/output channel is described in the corresponding setter description.
Type:
  • Map

parameters :Value

Description:
  • Read/write access to the image parameters.

    • By contract each setter modifies the parameters["setter-name"] data structure.
    • The wjson::Value parameters data structure contains all information on image processing and obtained values.
    • Each input/output parameters are described in the corresponding setter description.

Read/write access to the image parameters.

  • By contract each setter modifies the parameters["setter-name"] data structure.
  • The wjson::Value parameters data structure contains all information on image processing and obtained values.
  • Each input/output parameters are described in the corresponding setter description.
Type:
  • Value

Methods

set(command, sourceopt) → {Image}

Description:
  • Sets channels and parameters of this image.

    • Available commands are defined as image setters;
    • Other ``setter´´ mechanisms can be implemented via the Setter hook.
Parameters:
Name Type Attributes Description
command string

The command input command.

source Image <optional>

An optional source image, if needed.

Returns:

This image, allowing construct of the form image.set("{...").set("{...").

Type
Image