Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14217 > unrolled thread
| Started by | Dave Waddell <dwwaddell@gmail.com> |
|---|---|
| First post | 2013-04-17 06:30 +0000 |
| Last post | 2013-04-19 05:14 +0000 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Converting a magnified image of a line to a single pixel smoothed Dave Waddell <dwwaddell@gmail.com> - 2013-04-17 06:30 +0000
Re: Converting a magnified image of a line to a single pixel smoothed debguy <johnandsara2@cox.net> - 2013-04-19 05:13 +0000
Re: Converting a magnified image of a line to a single pixel smoothed debguy <johnandsara2@cox.net> - 2013-04-19 05:14 +0000
| From | Dave Waddell <dwwaddell@gmail.com> |
|---|---|
| Date | 2013-04-17 06:30 +0000 |
| Subject | Converting a magnified image of a line to a single pixel smoothed |
| Message-ID | <kklfhe$7pa$1@smc.vnet.net> |
I have a magnified image of a 0.1mm line here: http://www.d-a-v-e.org/images/Trace.jpg ... this converts with Binarize very well: http://www.d-a-v-e.org/images/Trace%20binary.jpg ... but what I would like to do is convert it to a single pixel wide smoothed line running right up the middle. Any suggestions or pointers on how to do this in Mathematica would be appreciated. Dave
[toc] | [next] | [standalone]
| From | debguy <johnandsara2@cox.net> |
|---|---|
| Date | 2013-04-19 05:13 +0000 |
| Message-ID | <kkqjqj$nnd$1@smc.vnet.net> |
| In reply to | #14217 |
Try reading about these in the Mathematica Book and see the examples:
ListConvolve
ConvexHull
It's a formally big problem for a general case. For a specific case -
well I don't know any specifics of where you start or end
specifically. (ie, always lines? sometimes?)
[toc] | [prev] | [next] | [standalone]
| From | debguy <johnandsara2@cox.net> |
|---|---|
| Date | 2013-04-19 05:14 +0000 |
| Message-ID | <kkqjqu$nnm$1@smc.vnet.net> |
| In reply to | #14217 |
one more approach which may be easier (given the b&w img you posted) is to use the Statistics package to give you the major and minor axis of the averages how it works is it takes the average distances and works out the middle at every y value and thre result is a line. from there it works out the axis. it works like center of balance problem.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web