help > How to open image + overlay with terminal command (Mac OS)
Dec 28, 2018  06:12 PM | sjack
How to open image + overlay with terminal command (Mac OS)
Hello- I am using MATLAB to open images on MRIcron with Mac OS with the following command:
status = system('osascript -e "tell application \"mricron\"" -e "open \"file_path:image.hdr\"" -e "end tell"');

In the Mac OS terminal, the command is just:
osascript -e "tell application \"mricron\"" -e "open \"file_path:image.hdr\"" -e "end tell"

Now, if I try and run the same code with the overlay (file_path:overlay.hdr), it just opens the overlay by itself and gets rid of the original image.

So- I am wondering if anyone knows a Mac OS terminal command to overlay an image on top of the currently open image, OR open them both together at once in the same window.

Thanks in advance!

Threaded View

TitleAuthorDate
How to open image + overlay with terminal command (Mac OS)
sjack Dec 28, 2018
Chris Rorden Dec 28, 2018