Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

I would like to read a pic image coming from a BioRad microscope.

I'm trying to read a raw image that comes from a BioRad microscope. I got the message of unkknown file type. This file is neither a bmp nor a tiff or jpeg. How can I solve that?
 
Thanks
Message 1 of 7
(4,180 Views)
What are the image save options in the BioRad software?
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 7
(4,172 Views)
Hi Pepe.  I have a few questions to help clarify the problem:

- How are you acquiring the image from the microscope, or trying to open a file?

- What application hardware and software are you using for acquisition?

- Is the message "Unknown file type" an error message?  If so, is there an error number associated with it?  When does the message appear?
David Staab, CLA
Staff Systems Engineer
National Instruments
0 Kudos
Message 3 of 7
(4,165 Views)

Hi;

The message that I get is "Error 1074395991 ocurred at IMAQ ReadFile - Hex 0xBFF604A9 Imaq Vision does not support the file type you specified"

I've got the BioRad Manual and in there they specified the structure of their file. My problem is how to convey that information to IMAQ.

Thanks for your help

 

 

0 Kudos
Message 4 of 7
(4,160 Views)
Pepe -

What format is the BioRad file?  What are the bit depth and resolution?  Is it color or greyscale?

The following Knowledge Base article describes the image file formats supported by the Vision development module:
http://digital.ni.com/public.nsf/websearch/862567530005F09C86256759007628AF?OpenDocument

If your file is not in one of these formats, you'll have to convert it to open it using Vision.
David Staab, CLA
Staff Systems Engineer
National Instruments
0 Kudos
Message 5 of 7
(4,153 Views)

HI David;

That is the essence of my question. How do I convert these pics file into a format that Vision can read it. I'm attaching the file format from BioRad. I will greatly appreciate if you can "translate" into something understandable for LabView.

Thanks

 

Pepe

Message 6 of 7
(4,147 Views)
Pepe -

Although custom formats like this one aren't natively supported by LabVIEW--only standardized images can be opened with default functions--you can create a parsing function to access the Bio-Rad file as a binary type and extract the image information needed. 

According to the document you attached, the header contains the width and height of all images in the file, and the images begin at byte 76 (the 77th byte).  You can use the File I/O VIs (Open File, Read File, Close File) to access the data at specific offsets and of varying sizes.  Once the image data is read out, you can reformat it as you deem fit.
David Staab, CLA
Staff Systems Engineer
National Instruments
0 Kudos
Message 7 of 7
(4,135 Views)