Extracting information with getImageInfo()
Posted by Gareth Howell on Sep 17, 2013; 12:55pm
URL: http://imagej.273.s1.nabble.com/Extracting-information-with-getImageInfo-tp5004822.html
Hi I am trying to extract information from the getImageInfo() command.
How can I obtain, for instance the number of channels in an image. I am using the Deltavision Opener plugin, which opens all the images in a multicolour dataset as a single stack but the channel number is within the image info. If i getImageInfo() the channel number are displayed on the line "NumofWavelengthes: 3". How can i get this number '3' to put into the rest of the macro as a variable? I feel i'm missing something obvious, sorry!
Thanks