<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>I've still got my old NIH Image Macro code for a Mandelbrot
Explorer somewhere. Kept me sane during paternity leave 13 years
ago. Don't know where I could run it now!<br>
<br>
<br>
</tt>
<div class="moz-signature">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 2008">
<meta name="Originator" content="Microsoft Word 2008">
<link rel="File-List" href="Signature_files/filelist.xml">
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Bill Mohler</o:Author>
<o:Template>Normal.dotm</o:Template>
<o:LastAuthor>Bill Mohler</o:LastAuthor>
<o:Revision>5</o:Revision>
<o:TotalTime>4</o:TotalTime>
<o:Created>2010-07-23T20:48:00Z</o:Created>
<o:LastSaved>2010-07-23T20:57:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>94</o:Words>
<o:Characters>536</o:Characters>
<o:Company>UConn Health Center</o:Company>
<o:Lines>4</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>658</o:CharactersWithSpaces>
<o:Version>12.256</o:Version>
</o:DocumentProperties>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:Zoom>200</w:Zoom>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:TrackMoves>false</w:TrackMoves>
<w:TrackFormatting/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:SplitPgBreakAndParaMark/>
<w:UseFELayout/>
</w:Compatibility>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="276">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Times;
        panose-1:2 0 5 0 0 0 0 0 0 0;
        mso-font-charset:0;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 0 0 0 1 0;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;
        mso-font-charset:2;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:0 0 65536 0 -2147483648 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ascii-font-family:Times;
        mso-fareast-font-family:"Times New Roman";
        mso-fareast-theme-font:minor-fareast;
        mso-hansi-font-family:Times;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
tt
        {font-family:Courier;
        mso-ascii-font-family:Courier;
        mso-fareast-font-family:"Times New Roman";
        mso-fareast-theme-font:minor-fareast;
        mso-hansi-font-family:Courier;
        mso-bidi-font-family:Courier;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-ascii-font-family:Cambria;
        mso-ascii-theme-font:minor-latin;
        mso-hansi-font-family:Cambria;
        mso-hansi-theme-font:minor-latin;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><tt>William A. Mohler </tt></p>
<div>
<p class="MsoNormal"><tt>Associate Professor </tt><span
style="font-family:Courier;
mso-bidi-font-family:Courier"><br>
<tt>Dept. of Genetics and Developmental Biology </tt><br>
<tt>University of Connecticut Health Center </tt><br
style="mso-special-character:
line-break">
<!--[if !supportLineBreakNewLine]--><br
style="mso-special-character:line-break">
<!--[endif]--><tt><o:p></o:p></tt></span></p>
<p class="MsoNormal"><b
style="mso-bidi-font-weight:normal;mso-bidi-font-weight:
normal"><span><span
style="font-family:Courier;color:windowtext">Physical
Address:</span></span></b><b
style="mso-bidi-font-weight:normal"><span
style="color:windowtext"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span><span
style="font-family:Courier;color:windowtext">Room
R1601<o:p></o:p></span></span></p>
<p class="MsoNormal"><span><span
style="font-family:Courier;color:windowtext">Cell
and Genome Sciences Building<o:p></o:p></span></span></p>
<p class="MsoNormal"><span><span
style="font-family:Courier;color:windowtext">400
Farmington Ave.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span><span
style="font-family:Courier;color:windowtext">Farmington,
CT<o:p></o:p></span></span></p>
<p class="MsoNormal"><span><span
style="font-family:Courier;color:windowtext"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><b
style="mso-bidi-font-weight:normal;mso-bidi-font-weight:
normal"><span><span
style="font-family:Courier;color:windowtext">Mail
Address:<o:p></o:p></span></span></b></p>
<p class="MsoNormal"><span><span
style="font-family:Courier;color:windowtext">MC-6403<o:p></o:p></span></span></p>
<p class="MsoNormal"><span><span
style="font-family:Courier;color:windowtext">263
Farmington Ave.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span><span
style="font-family:Courier;color:windowtext">Farmington,
CT<span style="mso-spacerun: yes"> </span>06030-6403</span></span><tt>
</tt><span
style="font-family:Courier;mso-bidi-font-family:Courier"><br>
<br>
<tt><a href="mailto:wmohler@neuron.uchc.edu">wmohler@neuron.uchc.edu</a>
</tt><br>
<tt><b
style="mso-bidi-font-weight:normal;mso-bidi-font-weight:normal">Mobile:
(860)
985-2719</b> <o:p></o:p></tt></span></p>
<p class="MsoNormal"><span class="SpellE"><span class="GramE"><tt>skype</tt></span></span><tt>:
<span class="SpellE">wmohler</span> </tt><span
style="font-family:Courier;
mso-bidi-font-family:Courier"><br>
<tt>Office: (860) 679-1833, room R1159<span
style="mso-tab-count:1"> </span>
</tt><br>
<tt>Lab: (860) 679-1834, room R1265 </tt><br>
<tt>Fax: (314) 689-1833 <o:p></o:p></tt></span></p>
<p class="MsoNormal"><tt><a
href="http://genetics.uchc.edu/Faculty/assoc_professors/mohler.html">http://genetics.uchc.edu/Faculty/assoc_professors/mohler.html</a></tt><br>
<span style="font-family:Webdings;color:#009900">P</span><span
style="color:#009900"> </span><tt><span
style="color:#009900">Think before you
print</span></tt> </p>
</div>
</div>
</div>
<br>
On 3/16/12 9:15 a.m., Lee Kamentsky wrote:
<blockquote cite="mid:4f633d04.84c6e00a.55ca.5fb2@mx.google.com"
type="cite">
<pre wrap="">
On 3/15/2012 5:34 PM, Albert Cardona wrote:
</pre>
<blockquote type="cite">
<pre wrap="">El 15 de març de 2012 16:57, Tobias Pietzsch<a class="moz-txt-link-rfc2396E" href="mailto:pietzsch@mpi-cbg.de"><pietzsch@mpi-cbg.de></a> ha escrit:
Now that is a very cool example! It is surprising how short the code
is. A perhaps more relevant example for bioimage informatics is the
extraction of an interpolated pixel at a specific floating-point
coordinate, which could be used to infinitely zoom in/out onto an
image. (Not that different from what you do in the Mandelbrot
example). If you want to make it even more relevant, use it to
generate the tiles necessary for a single CATMAID section, in
combination with the XYProjector and the flashy new ImgSaver :) Albert
</pre>
</blockquote>
<pre wrap="">The Mandelbrot is insanely cool and shows how powerful the real space
technique might be. It's short, even if it is in Java ;-) (python for
Mandelbrot below and it doesn't zoom). I would love to see Albert's
suggestion as a bicubic spline representation of an image using this
technique - you could extract gradient information and operate on the
Euclidean space directly which I'm guessing would be useful for
techniques like active contours and SIFT.
import numpy as np
import pylab
re, im = np.mgrid[-1000:500, -640:641].astype(np.float64) / 640
i, j = np.mgrid[0:re.shape[0], 0:re.shape[1]]
re0, im0 = re.copy(), im.copy()
mandelbrot = np.zeros(re.shape, int)
mask = np.ones(re.shape, bool)
for _ in range(256):
squre, squim = re ** 2, im ** 2
mask = squre + squim <= 4
mandelbrot[i, j] += 1
im = 2 * re[mask] * im[mask] + im0[mask]
re = squre[mask] - squim[mask] + re0[mask]
i, j, re0, im0 = i[mask], j[mask], re0[mask], im0[mask]
pylab.imshow(mandelbrot)
pylab.show()
_______________________________________________
ImageJ-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a>
<a class="moz-txt-link-freetext" href="http://imagej.net/mailman/listinfo/imagej-devel">http://imagej.net/mailman/listinfo/imagej-devel</a>
.
</pre>
</blockquote>
</body>
</html>