<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244019</link>
    <title>MATLAB Central Newsreader - image processing</title>
    <description>Feed for thread: image processing</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by 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>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sat, 07 Feb 2009 17:15:04 -0500</pubDate>
      <title>image processing</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244019#626830</link>
      <author>Peter Schreiber</author>
      <description>Hi guys,&lt;br&gt;
Is there any way to load pictures (any format would be okay, but high resolution) into matlab and rotate them in a 3d cartesian coordinate system? I have to make a 3d picutere, consisting of slices at different focal positions,  where on each slice the intensity of the beam is shown. &lt;br&gt;
&lt;br&gt;
Best Regards,&lt;br&gt;
Peter</description>
    </item>
    <item>
      <pubDate>Sat, 07 Feb 2009 22:48:48 -0500</pubDate>
      <title>Re: image processing</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244019#626893</link>
      <author>ImageAnalyst</author>
      <description>On Feb 7, 12:15=A0pm, &quot;Peter Schreiber&quot; &amp;lt;schreiber.pete...@gmail.com&amp;gt;&lt;br&gt;
wrote:&lt;br&gt;
&amp;gt; Hi guys,&lt;br&gt;
&amp;gt; Is there any way to load pictures (any format would be okay, but high res=&lt;br&gt;
olution) into matlab and rotate them in a 3d cartesian coordinate system? I=&lt;br&gt;
&amp;nbsp;have to make a 3d picutere, consisting of slices at different focal positi=&lt;br&gt;
ons, =A0where on each slice the intensity of the beam is shown.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Best Regards,&lt;br&gt;
&amp;gt; Peter&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------&lt;br&gt;
Peter:&lt;br&gt;
imrotate only rotates in 2D, so that won't help.  imtransform() could&lt;br&gt;
probably give you a 2D image of a projection of an image rotated in 3D&lt;br&gt;
(in which case the 2D projection would look like it has a perspective&lt;br&gt;
(vanishing point) in addition to the rotation.)  You might try&lt;br&gt;
tformarray() which can apply a transform to an N-D array.  You may&lt;br&gt;
have to load your 2D pictures into a 3D volume image array first&lt;br&gt;
though (use the cat() function).  I can't help you beyond that, as I&lt;br&gt;
haven't used tformarray, so just try to understand the help and&lt;br&gt;
examples for it.  These all require the image processing toolbox.&lt;br&gt;
Good luck,&lt;br&gt;
ImageAnalyst</description>
    </item>
    <item>
      <pubDate>Sun, 08 Feb 2009 19:06:02 -0500</pubDate>
      <title>Re: image processing</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244019#626967</link>
      <author>Pete </author>
      <description>If I understand you correctly, one method would be to use SURF to display planes and use your image data to provide the colours/gray levels.  For example, if your image is in a variable IM:&lt;br&gt;
&lt;br&gt;
offset = 0;&lt;br&gt;
[xx, yy] = meshgrid(1:size(im,2), 1:size(im,1));&lt;br&gt;
zz = ones(size(xx)) * offset;&lt;br&gt;
surf(xx, yy, zz, im, 'EdgeColor', 'none');&lt;br&gt;
colormap gray&lt;br&gt;
&lt;br&gt;
You can have multiple planes by varying the offset.  You can also control the transparency of each plane with the 'FaceAlpha' property.  The interactive controls will allow you to rotate in 3D, although I suspect that would be very slow for high resolution images.  It could help to determine a nice display angle on a very low resolution version of your images, store it using the VIEW function and then use VIEW again to set the angle directly from the command line for the final plot.</description>
    </item>
    <item>
      <pubDate>Sun, 08 Feb 2009 20:29:02 -0500</pubDate>
      <title>Re: image processing</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244019#626979</link>
      <author>Image Analyst</author>
      <description>Pete&lt;br&gt;
That wasn't what I was thinking. but who knows it might work for surfaces.  Well for us, we don't bother with MATLAB for true 3D volume visualization.  It's just not made for such things, as compared to others that are, such as&lt;br&gt;
avizo: &lt;a href=&quot;http://www.tgs.com/products/avizo.asp&quot;&gt;http://www.tgs.com/products/avizo.asp&lt;/a&gt;&lt;br&gt;
amira: &lt;a href=&quot;http://www.amiravis.com/&quot;&gt;http://www.amiravis.com/&lt;/a&gt;&lt;br&gt;
volvis: &lt;a href=&quot;http://www.cs.sunysb.edu/~vislab/volvis_home.html&quot;&gt;http://www.cs.sunysb.edu/~vislab/volvis_home.html&lt;/a&gt;&lt;br&gt;
volview: &lt;a href=&quot;http://www.kitware.com/products/volview.html&quot;&gt;http://www.kitware.com/products/volview.html&lt;/a&gt;&lt;br&gt;
With these you can really do powerful volume visualization including cut-away views, projections, segmentation, transparent rendering, threshold-based rendering, rotation (like you want), cropping, resizing, converting to other formats, distance and volume measurement, and so much more.&lt;br&gt;
&lt;br&gt;
If you really want to use MATLAB instead of some of the superior packages, then Google has quite a few ideas (&quot;volume visualization in MATLAB&quot; was one of it's automatically generated hints/suggestions):&lt;br&gt;
&lt;a href=&quot;http://www.google.com/search?hl=en&amp;q=volume+visualization+in+matlab&amp;aq=5&amp;oq=volume+vis&quot;&gt;http://www.google.com/search?hl=en&amp;q=volume+visualization+in+matlab&amp;aq=5&amp;oq=volume+vis&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
ImageAnalyst</description>
    </item>
  </channel>
</rss>

