Digital Signal Processing Reference
In-Depth Information
extended border is not produced by the source of the dataflow edge. In other words,
Instead, the extended border simply defines the number of pixels, by which the
first sliding window exceeds the proper array produced by edge's source actor.
These overlapping window positions will then be marked as border pixels, such that
corresponding sink actor knows that they are not valid. Consequently it can apply
the appropriate border processing algorithm, such as constant value insertion, or
is not part of the WSDF model. Instead the user can freely decide which one to
implement, with the restriction that an actor is only allowed to access data elements
situated within the current sliding window. All other array elements have to be
considered as unknown. This is important in order to allow proper data dependency
4.2.3
Specification of the Array Size
p
i
does not define the extension of the processed arrays. Instead it specifies the
number of data elements that are generated during one firing of the source actor. In
general, the source actor needs to fire multiple times to produce an overall array.
In other words, without specifying an array size the dataflow graph in Fig.
8
would
for instance allow to downscale an 4
×
×
6 image into one having 2
3 pixels, or an
×
×
6
6pixels.
In order to compute the admissible array sizes, a balance equation can be
variant would have different properties than the MDSDF one, because the solutions
in general are not integer multiples anymore. Nevertheless such an approach would
be completely feasible.
Unfortunately, this excludes applications where arrays need to be divided into
sub-arrays that are to be processed independently of each other. The compression
by actor
A
need to be grouped into two independent images, a lower one and an
upper one. These arrays shall then be processed as individual images. In other words,
no sliding window shall contain pixels from the two different sub-images at the same
time. This can be achieved by surrounding each sub-image with its own extended
border, and then apply the local processing algorithm to the lower and upper image
independently of each other.
6 image into one having 3