Login  Register

Re: calibrat to known function

Posted by Harry Parker on Aug 18, 2007; 10:05pm
URL: http://imagej.273.s1.nabble.com/calibrat-to-known-function-tp3698569p3698570.html

Hi Anne,

An ImageJ LUT can be defined simply as a text file, 257 rows by 4 columns. The 1st row contains text.  Each following row has 4 integers from 0 to 255, separated by tabs: index, red, green, and blue values. Index is incremented from 0 to 255. Then for each index give the values wanted for red, green and blue. If you want grey values, red, green and blue are set equal to each other.

I created something similar using Excel to calculate the LUT numbers.

Rename the file with the extension, ".lut", and place it in a folder named "LUTs" in the ImageJ folder.
 
--  
Harry Parker  
Senior Systems Engineer  
Digital Imaging Systems, Inc.

----- Original Message ----
From: Anne Salomon <[hidden email]>
To: [hidden email]
Sent: Saturday, August 18, 2007 3:44:43 PM
Subject: calibrat to known function

I am trying to calibrate pixel colors 1-255 of a LUT to a known function: pixel=((log x+2))/0.15. How do I do this in image J?

Thanks very much for you insight,
Anne





       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433