Hough transform: Difference between revisions
Content added Content deleted
(Added Wren) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: Work around concurrency problems in recent Raku) |
||
Line 883: | Line 883: | ||
my $y = floor $pixel / $xsize; |
my $y = floor $pixel / $xsize; |
||
( |
(^$width).map: -> $k { |
||
my $th = $dth*$k; |
my $th = $dth*$k; |
||
my $r = ($x*cos($th) + $y*sin($th)); |
my $r = ($x*cos($th) + $y*sin($th)); |