You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto region = std::make_unique<ImageRegion>(
std::move(result_data), // vector of float
static_cast<int>(target_width),
static_cast<int>(target_height),
static_cast<int>(m_channels)
);
return region;
And i have
Halide::Buffer<float> m_halide_buffer; // Already contains the full image data
How can I downsample the image with the corresponding size target? because I got artefacts and I don't know how to use a right downsample
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to downsample a Halide buffer on GPU and getting visual artefacts. The output image is unrecognizable.
I have this function
I need to return the following data :
And i have
How can I downsample the image with the corresponding size target? because I got artefacts and I don't know how to use a right downsample
Beta Was this translation helpful? Give feedback.
All reactions