Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import grayscale_image;
|
||||
|
||||
Color findSingleChannelMedian(Color)(in Image!Color img)
|
||||
nothrow if (Color.tupleof.length == 1) // Hack.
|
||||
pure nothrow @nogc if (Color.tupleof.length == 1) // Hack.
|
||||
in {
|
||||
assert(img !is null);
|
||||
} body {
|
||||
|
|
@ -30,7 +30,7 @@ in {
|
|||
|
||||
Image!Color binarizeInPlace(Color)(Image!Color img,
|
||||
in Color thresh)
|
||||
nothrow in {
|
||||
pure nothrow @nogc in {
|
||||
assert(img !is null);
|
||||
} body {
|
||||
foreach (immutable i, ref c; img.image)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue