How to export values from excel sheet into macro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to export values from excel sheet into macro

Vivek Saraswat-2
Hello,

I need to filter out specific RGB values from the image that I have been
working on. Since the image in continuous with gradients of many colours, I
first convert RGB image to 8 bit color image containing 8 colours. With
this I get 8 RGB values in the LUT table, which I save. Now, I run a macro
to individually separate the colours in the image. For this I need to
manually feed the RGB values in the macro. Is there a way to import the
values from excel sheet containing LUT tables into the macro?

In short I need to know the code with which, I can assign values stored in
excel sheet to variables in my macro.

Thanks in advance.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html