Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about the use of built-in Mathematica functions, including pure functions.
3
votes
1
answer
3k
views
Define a function with multiple lines mathematica [closed]
How is this done?
find[img_] :=
centerOne =
ImageTransformation[src, img, {200, 200}, DataRange -> Full,
PlotRange -> {{0, 1}, {0, 1}}], bin =
Dilation[EdgeDetect[centerOne], 3],
components =
Co …
1
vote
0
answers
46
views
Function with many lines that takes image as parameter not returning same result as if I run...
Running the exact same lines of code in a function produces just a return of the original image without any points identified, whereas when I run the exact body of the function line by line it works c …