Main Content

hdl.WorkingSet class

Package: hdl

Working set object that generates working sets form the input image

Since R2023a

Description

ws = hdl.WorkingSet(image, workingSetSize, origin, constantFill) creates a working set object that you can use to generate working sets from the input image based on the specified properties.

Working set object has the simulation behavior and must be used inside the MATLAB® test bench.

Creation

ws = hdl.WorkingSet(image, workingSetSize, origin, constantFill) creates an hdl.WorkingSet object that you can use to generate the working sets from the input image.

Properties

expand all

Input image, specified as a matrix.

Size of the working set, specified as a 2 element row vector of positive integers.

Example: [3 3]

Origin of the working set, specified as a 2 element row vector of positive integers.

Example: [2 2]

The constant value to be filled in the working set for the pixels falling outside the image, specified as a scalar.

Example: 1

Methods

expand all

Version History

Introduced in R2023a