Login  Register

Re: A flat (2D) projection of a 3D model generated in TrakEM2

Posted by Michael Doube-4 on Aug 21, 2013; 7:35pm
URL: http://imagej.273.s1.nabble.com/A-flat-2D-projection-of-a-3D-model-generated-in-TrakEM2-tp5004520p5004523.html

Dear Tom,
>
>
> Imagine my 3D model is the shape of a piece of pipe. I would like to project it as a flat sheet like it had been cut down one side and rolled out. I would like to avoid 3D glasses if possible. I appreciate any advise/expertise you can give me!

Ken Sloan has a good idea. Perhaps to avoid the problem of aliasing or
errors in cylindrical-ness you could rotate a line ROI with one end at
the centre of your pipe and the other at the circumference of a circle,
easily outside your cylinder.

For each angle rho take some summary (mean, max, nearest...) of the
pixel values on that line to generate a projection, and enter the result
on a rho vs z plot. Do the whole rotation to get all the 'rhos' and fill
out a row of a rho vs z plot.

Repeat that for each z slice of your cylinder and you have rolled it out
onto a flat plane.

Time prevents me from helping further with actual code, sorry!

Michael




[RVC Logo - link to RVC Website]<http://www.rvc.ac.uk>    [Twitter icon - link to RVC (Official) Twitter] <http://twitter.com/RoyalVetCollege>     [Facebook icon - link to RVC (Official) Facebook] <http://www.facebook.com/theRVC>     [YouTube icon - link to RVC YouTube] <http://www.youtube.com/user/RoyalVetsLondon?feature=mhee>     [Pinterest icon - link to RVC Pinterest] <http://pinterest.com/royalvetcollege/>     [Instagram icon - link to RVC Instagram] <http://instagram.com/royalvetcollege>

This message, together with any attachments, is intended for the stated addressee(s) only and may contain privileged or confidential information. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Royal Veterinary College (RVC). If you are not the intended recipient, please notify the sender and be advised that you have received this message in error and that any use, dissemination, forwarding, printing, or copying is strictly prohibited. Unless stated expressly in this email, this email does not create, form part of, or vary any contractual or unilateral obligation. Email communication cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, amended, lost, destroyed, incomplete or contain viruses. Therefore, we do not accept liability for any such matters or their consequences. Communication with us by email will be taken as acceptance of the risks inherent in doing so.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html