[ome-users] Getting Raw Pixels from OME-XML file

Curtis Rueden ctrueden at wisc.edu
Tue Aug 15 21:39:35 BST 2006


Hi Nicholas,

If you only want to extract pixel data from OME-XML files on disk, you could
try the OMEXMLReader class in the Bio-Formats package:
    http://www.loci.wisc.edu/ome/formats.html

If you do try it, let me know if you have any questions or problems.

-Curtis

On 8/15/06, Nicholas Lahens <lahensn at canisius.edu> wrote:
>
> Hi everyone,
> I've been working on some java classes which interface with
> the OME-JAVA package, making it a bit easier to work with.
> I'm currently working on a method which extracts metadata
> from an OME-XML file. It uses the OMENode and ImageNode
> classes to extract an image's basic dimensions. However, I
> run into trouble when I try to get the raw pixel data (ie the
> byte array). Is there an easy built-in way to get this? The
> pixel factory relies upon a login and session key, but I
> would like to be able to extract the pixels directly from the
> file without loggin into the server. Do I need to convert the
> node into an Element and then extract the pixel data directly
> from the attribute? Thanks for any help.
>
> Nick
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20060815/ea854f79/attachment.html>


More information about the ome-users mailing list