KhronosGroup / OpenVX-sample-impl

OpenVX sample implementation
Apache License 2.0
138 stars 47 forks source link

Scale: incorrect work of valid region #53

Open igsha opened 1 year ago

igsha commented 1 year ago

Here is an example of openvx code that scale image (nearest neighbour) with replicate borders and valid region.

For the input I have this image (valid region is {200, 200, 500, 300}): last_day

Produced output (width is 2 * source width, height is source height) with the OpenVX-sample-impl library: out

The question: why I see two images in the output? I suspected that output should contain stretched source valid region by the width.