LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analysing .sif files

Can anyone help me, I am capturing data every few msec using a ccd and microscope. The images are saved as a .sif file and I have software that converts them to bitmap images but I wondered if there is a way of analysing them straight from the .sif instead of wasting time converting them and then analysing them.
 
When they have been converted I simply need to load the file and get the intensity of a pixel at each spot which I have done for a .bmp
 
Thanks you
 
Mark Berry
LSF, CLF
CCLRC
0 Kudos
Message 1 of 5
(5,478 Views)

Unfortunately, there is no known Stuffit Image Format converter available under LV at that time. Can't you save your images in another format ? Or better, capture directly the image using LabVIEW (you will probably need the IMAQ vision toolkit... rather expensive...).

Another possibility could be to see if your program can be used as an activeX, or run, as an exe, from LabVIEW.

Chilly Charly    (aka CC)
Message 2 of 5
(5,470 Views)

Usually you can export ascii files (.asc) and then read them in with the worksheet tool. (At least my andor camera lets me export the files as asc) I am right now writing a program to open andor sif files. If you have patience, and when I figure out how to post progs over here...

 

X

0 Kudos
Message 3 of 5
(5,215 Views)
I just got a request to try opening sif files in LabVIEW. Let me know how you are getting on with the programming and if you would be interested in collaborating on this.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 4 of 5
(4,999 Views)

I was able to write some code to read in at least two different SIF data formats.  I can't make any sense out of the file header so you must know the size of the images, the number of bytes per pixel, and the number of frames in the file to be able to read each image frame in correctly.  Hopefully this code will be some help.

 

In the files I have, the image data was stored as single precision numbers.  Please let me know how it works out.  VIs are LV2009.

Message Edited by rpursley8 on 03-26-2010 03:53 PM
Randall Pursley
0 Kudos
Message 5 of 5
(4,983 Views)