Very basic macro for processing .lsm images
Posted by
atye on
Oct 09, 2014; 10:02pm
URL: http://imagej.273.s1.nabble.com/Very-basic-macro-for-processing-lsm-images-tp5009985.html
Hello,
I've been trying to write a script that will process confocal images (.lsm), and although I've had a lot of fun trying my hand at writing a macro, I think I'm in over my head.

To keep it simple (since I do want to learn this!), I'd like to write something that will process an opened image (e.g. "title.lsm") in the following manner:
- Split channels
- Add a scale bar to each image
- Save the images as title.tif in the same folder as the title.lsm file
- Merge the channels
- Add a scale bar to the merged image
- Save the merged image as merged-title.tif
- Close
Would a script like this add an appropriate scale bar to images that were taken under different magnifications?
Thanks for your help!