Hough transform: Difference between revisions

(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
Line 132:
nimx := im.Bounds().Max.X
mimy := im.Bounds().Max.Y
 
mry = int(mry/2) * 2
him := image.NewGray(image.Rect(0, 0, ntx, mry))
draw.Draw(him, him.Bounds(), image.NewUniform(color.White),
image.ZPPoint{}, draw.Src)
 
rmax := math.Hypot(float64(nimx), float64(mimy))