mirror of
https://github.com/lovell/sharp.git
synced 2026-02-04 21:56:18 +01:00
Changelog plus tidy of code/docs for convolve operation
This commit is contained in:
@@ -215,8 +215,10 @@ namespace sharp {
|
||||
/*
|
||||
* Convolution with a kernel.
|
||||
*/
|
||||
VImage Convolve(VImage image, int width, int height, double scale, double offset,
|
||||
const std::unique_ptr<double[]> &kernel_v) {
|
||||
VImage Convolve(VImage image, int const width, int const height,
|
||||
double const scale, double const offset,
|
||||
std::unique_ptr<double[]> const &kernel_v
|
||||
) {
|
||||
VImage kernel = VImage::new_from_memory(
|
||||
kernel_v.get(),
|
||||
width * height * sizeof(double),
|
||||
|
||||
Reference in New Issue
Block a user