Re: Generate new image with Sine waves
Posted by
Herbie on
Feb 05, 2021; 11:55am
URL: http://imagej.273.s1.nabble.com/Generate-new-image-with-Sine-waves-tp5024437p5024438.html
Greetings!
Have a look at:
<
https://imagej.nih.gov/ij/macros/examples/MathMacroDemo.txt>
Regards
Herbie
::::::::::::::::::::::::::::::::::::::
Am 05.02.21 um 12:32 schrieb mmettlen:
> Hi, for educational purposes, I'd like to write a macro that allows the
> following:
> - Generate a new image of dimensions xy
> - Fill that image with a 2D sine wave after the user specifies the Miller
> indices h and k (i.e. the direction of the sine wave), it's amplitude A and
> it's phase.
> - Add to the above sine wave a new sine wave with new h, k, A and phase...
> - Repeat above addition....
>
> Point of that macro is to visualize how waves add to create interference.
> Any help would be much appreciated! Thx! Marcel
>
>
>
>
> --
> Sent from:
http://imagej.1557.x6.nabble.com/>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html