<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169023</link>
    <title>MATLAB Central Newsreader - How to make isosurface() work with uint8 data</title>
    <description>Feed for thread: How to make isosurface() work with uint8 data</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 12 May 2008 13:46:04 -0400</pubDate>
      <title>Re: How to make isosurface() work with uint8 data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169023#431560</link>
      <author>Salmon </author>
      <description>BTW: if you look at the isosurface, inside you find that it&lt;br&gt;
actually calls for a mex function isosurf(), which I assume&lt;br&gt;
is a C/C++ or Fortran function. Does anyone know how to get&lt;br&gt;
the source code for that function?&lt;br&gt;
&lt;br&gt;
"carlos lopez" &amp;lt;clv2clv_00000000_@adinet.com.uy&amp;gt; wrote in&lt;br&gt;
message &amp;lt;g02j1s$cop$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Mon, 12 May 2008 13:42:03 -0400</pubDate>
      <title>Re: How to make isosurface() work with uint8 data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169023#431557</link>
      <author>Salmon </author>
      <description>Carlos,&lt;br&gt;
&lt;br&gt;
Your solution is not the solution I am looking for. It did&lt;br&gt;
not improve any performance.  What I meant is that "double"&lt;br&gt;
is 64 bit, while uint8 is 8 bit.  You see, there is 8 times&lt;br&gt;
memory and calculation savings. That's very significant&lt;br&gt;
memory saving and speed improvement. Besides, almost all&lt;br&gt;
real-world 3D data sets are either 8 bit or 16 bit.&lt;br&gt;
&lt;br&gt;
Is there somewhere that I can find the isosurface source&lt;br&gt;
code, and replace all the double to uint8?  I think MW&lt;br&gt;
should make all those 3D related function take 8 bit data.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;br&gt;
&amp;gt; A more elegant solution is to create a directory @uint8 in a&lt;br&gt;
&amp;gt; directory already in the PATH, and there store a&lt;br&gt;
&amp;gt; isosurface.m file which reads like this:&lt;br&gt;
&amp;gt; &amp;gt; handles=isosurface(V{:});&lt;br&gt;
&amp;gt; Hope this helps&lt;br&gt;
&amp;gt; Regards&lt;br&gt;
&amp;gt; Carlos&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 09 May 2008 22:27:03 -0400</pubDate>
      <title>Re: How to make isosurface() work with uint8 data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169023#431306</link>
      <author>carlos lopez</author>
      <description>Oops! replace the word "extended" by "uint8" &lt;br&gt;
Regards&lt;br&gt;
Carlos&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 09 May 2008 22:26:04 -0400</pubDate>
      <title>Re: How to make isosurface() work with uint8 data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169023#431305</link>
      <author>carlos lopez</author>
      <description>"Salmon " &amp;lt;yourfellow@yahoo.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g02f0e$k84$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I found isosurface() and isonormal() are very useful for&lt;br&gt;
&amp;gt; processing 3D data sets.  However, my version (2007b), these&lt;br&gt;
&amp;gt; functions only take "double" as input, which requires 8&lt;br&gt;
&amp;gt; times more storage place. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Does anyone help me how to make isosurface() work with 8-bit&lt;br&gt;
&amp;gt; data, so I can process the 3d data in higher resolution?&lt;br&gt;
Dirty and simple? instead of using isosurface() use&lt;br&gt;
isosurface(double()).&lt;br&gt;
&lt;br&gt;
A more elegant solution is to create a directory @uint8 in a&lt;br&gt;
directory already in the PATH, and there store a&lt;br&gt;
isosurface.m file which reads like this:&lt;br&gt;
&lt;br&gt;
function handles=isosurface(varargin)&lt;br&gt;
%converts any numeric parameter to type double&lt;br&gt;
V=varargin;&lt;br&gt;
for i=1:length(varargin)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if isa(varargin{i},'extended')&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;V{i}=double(varargin{i});&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;br&gt;
end&lt;br&gt;
handles=isosurface(V{:});&lt;br&gt;
Hope this helps&lt;br&gt;
Regards&lt;br&gt;
Carlos&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 09 May 2008 21:17:02 -0400</pubDate>
      <title>How to make isosurface() work with uint8 data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169023#431299</link>
      <author>Salmon </author>
      <description>I found isosurface() and isonormal() are very useful for&lt;br&gt;
processing 3D data sets.  However, my version (2007b), these&lt;br&gt;
functions only take "double" as input, which requires 8&lt;br&gt;
times more storage place. &lt;br&gt;
&lt;br&gt;
Does anyone help me how to make isosurface() work with 8-bit&lt;br&gt;
data, so I can process the 3d data in higher resolution?&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
