Ilia Ki
Ilia Ki
Sorry for this, but we can add DMD support back. The GLAS (only level3) package is Better C library now and it was removed from main Mir repo. mir v0.21.0...
See https://en.wikipedia.org/wiki/Separable_filter
Many separable filters are used with fixed size, e.g. 2, 3, 4, 5. It can be done with static foreach.
I have reviewed a set of files. We still have `std.range` and `std.array` are used frequently. The reasons to remove them: 1. Less template bloat with iota - iotaSlice uses...
`aSlice[i]` requires 1 addition and 1 multiplication `aSlice[i, j]` requires 2 additions and 2 multiplications 90% of algorithm can be iterated using ndslice.algorithm (ndMap, ndReduce). Other 10% can use `front!d`,...
Global Goal
Possible variants: - Library for D. Disadvantage: D community is really small. Advantage: can be implemented in any programming style including GC + OOP. A project to play with D...
From RHT module: ``` d /// Run RHT using non-zero points in image as edge points. auto opCall(T)(Slice!(2, T*) image) { Point[] points; foreach (y; 0 .. image.length!0) foreach (x;...
`as!aType.slice.asImage` allocates without reason, bacause asImage allocates data anyway. asImage is uses data too. In addition, it should be something like `toImage`.