Image Calibration from Text File

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

Image Calibration from Text File

jmitchels
Hi forum

I have a question, im not a programmer but I was wondering if it is possible to automatically read in some data from a textfile which accompanies an image (with the same name) to set the calibation for the image. The tesxt file is simple it has:

SX = 1568
SY = 1200
IL = 2
DL = 1.020
SS = 0
NO = 0
PS = 0.2276
UN = µm


The important information here is PS is the X Pixel dimentsion and DL is the Y distortion factor to calculate the correct value for the Y pixel.  UN is the units used in um, nm or mm. What we would like to do is  run a macro which will open images from a directory and correctly calibrate them from this accompanying text file. Has this been done before? Is it possible?

Thanks in advance
John