Anonymous user
Hough transform: Difference between revisions
Updated D entry
(Move example to Example:Hough transform/MATLAB) |
(Updated D entry) |
||
Line 72:
Image!Gray houghTransform(in Image!Gray im,
in size_t hx=460, in size_t hy=360)
assert(im !is null);
assert(hx > 0 && hy > 0);
Line 86:
foreach (immutable y; 0 .. im.ny) {
foreach (immutable x; 0 .. im.nx) {
continue;
foreach (immutable iTh; 0 .. hx) {
Line 102 ⟶ 101:
void main() {
.loadPPM6(
.rgb2grayImage()
.houghTransform()
|