>Hi,
>
>Firstly, apologies if this is a really dense question. I'm not experienced
>with writing macros at all but I'm pretty sure there must be a way to do
>this.
>
>I've got a user who has loads of gray images (single channel) that need
>converting into colour (blue). We can't do this in photoshop as they're of
>various bit depth.
>
>I'd like to write a macro that can then be used by the batch function in
>imagej.
>
>All I've managed to come up with so far is:
>
>run("8-bit");
>run("Blue");
>run("Enhance Contrast", "saturated=0.35");
>run("Apply LUT");
>
>However, this doesn't seem to be working. The process just seems to freeze.
>
>I gather I don't need to worry about a SaveAs function as you select the
>location and output in the batch process.
>
>Again, apologies for such a n00b question.
>
>Kind regards,
>
>Ash
>--
>View this message in context:
>
http://imagej.588099.n2.nabble.com/Converting-gray-image-to-colour-and-saving-tp5822794p5822794.html>Sent from the ImageJ mailing list archive at Nabble.com.
This one does it for me:
run("Blue");
run("RGB Color");
HTH
--
Herbie
------------------------
<
http://www.gluender.de>