Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -11,7 +11,7 @@ Image!Color convolve(Color)(in Image!Color im,
|
|||
in ConvolutionFilter filter)
|
||||
pure nothrow in {
|
||||
assert(im !is null);
|
||||
assert(!isnan(filter.divisor) && !isnan(filter.offset_));
|
||||
assert(!filter.divisor.isNaN && !filter.offset_.isNaN);
|
||||
assert(filter.divisor != 0);
|
||||
assert(filter.kernel.length > 0 && filter.kernel[0].length > 0);
|
||||
foreach (const row; filter.kernel) // Is rectangular.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue