Anonymous user
Canny edge detector: Difference between revisions
→{{header|J}}
Line 785:
edges =: canny image
viewmat edges
NB. get identifiers of edges
Line 799 ⟶ 795:
#~.,edges
895
NB. display part of one
</lang>
Image uploads [temporarily?] blocked; fall back to ascii art:
<font size="1">
<lang j>
((284035&=)" 0 (80 {. 375 }. edges)){' #'
### ## ...
### ## ...
# ...
## ...
## ...
### ...
## ...
### ...
### ...
### ...
### ...
### ...
#### ...
### ...
### ...
### ...
### ...
## ...
#### ...
#### ...
### ...
## ...
### ...
### ...
### ...
### ...
### ...
### ...
### ...
### ...
### ...
### ...
#### ...
## ...
### ...
#### ...
### ...
## ...
### ...
### ...
### ...
### ...
### ...
### ...
## ...
### ...
### ...
### ...
#### ...
## ...
### ...
#### ...
### ...
## ...
####### ...
#### ...
##### ...
### ...
#### ...
### ...
### ...
#### ...
### ...
### ...
### ...
### ...
### ...
## ...
## ...
##### ...
###### ...
### ...
## ...
#### ...
...
...
...
...
...
...
</lang>
</font>
=={{header|Mathematica}}==
|