comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Running this MATLAB code in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Running this MATLAB code in IDL [message #88436 is a reply to message #88429] Thu, 24 April 2014 13:25 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 4/24/14, 4:39 AM, mikejohnryan08@gmail.com wrote:
> Hello,
>
> What would be the best way to run this MATLAB code in IDL
> (http://www.ee.cuhk.edu.hk/~snli/MATLAB_code.zip) which creates a 3d
> red/blue anaglyph from two images?

You want to launch Matlab and run your code? SPAWN is the only way I
know of doing that.

I have a very simple class to create red/cyan or red/blue anaglyphs in
my library (github.com/mgalloy/mglib) at:

https://github.com/mgalloy/mglib/blob/master/src/vis/objectg raphics/mggr3dconverter__define.pro

Call the ::_combineImages method to create the anaglyph image. But if
you already have the two images, there is not much to it -- I would just
use my code as a guide and write your own.

> Also, since this is a code from an academic source, would I be able
> to use this to build onto for a more involved program for a masters
> thesis as long as I source the code's author in my report?

For questions like these, check the license of the code which is either
in comments at the top of the code or in a LICENSE/COPYING/README type
file. In your case, the code has this comment:

%Copyright(c) 2013 Li Songnan
%All Rights Reserved.

Do not use, although you could always ask the author for special permission.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FFT and Parseval
Next Topic: Smooth and /EDGE_TRUNCATE

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:19:02 PDT 2025

Total time taken to generate the page: 0.00476 seconds