Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Arithmetic deduction/extraction
Replies: 3   Last Post: Apr 12, 2013 1:26 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
kees de kapper

Posts: 73
Registered: 12/7/04
Re: Arithmetic deduction/extraction
Posted: Apr 11, 2013 4:20 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thanks for replying. I'm going to look into it.

What I'm trying to make is a simple way for users to apply arithmetic operation of loaded images. I've created an Image-Object that contains multiple properties and methods which make the use of images much more elegant. If I have to do Arithmetic operations it is now very easy and robust.
Now, I'd like to enable this "interface" for users. If a user now writes "2*Img1+Img3/Img5" I need to extract all the operations and excecute some methods/functions for example cropping, transformations etc. "Img1*2" is straight forward to extract, but "(2*Img1+Img2)/3" is not.
Could this easily be done in Matlab?

Thanks for considering.

Kees



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.