We're Hiring!

Metadata incomplete for C++ bio-formats library

Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats
Please note:
Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats

If you are having trouble with image files, there is information about reporting bugs in the Bio-Formats documentation. Please send us the data and let us know what version of Bio-Formats you are using. For issues with your code, please provide a link to a public repository, ideally GitHub.

Metadata incomplete for C++ bio-formats library

Postby Polaris » Wed Jul 20, 2016 9:39 am

When I use imageJ with bio-formats plugin, I can get almost all metadata information, including the setting of the Microscope Device, Microscope Objective...

But when I use the getGlobalMetadata , getSeriesMetadata provided in C++ library, the information of metadata is limited, mainly about the property of picture.

Is there any function provided in C++ library to get all the metadata information, including the information of microscope...

The metadata I can get in ImageJ
Microscope Aperture Max Mode #1 0
Microscope Autoexposure enabled #1 0
Microscope Autoexposure metering mode #1 1
Microscope Binning (X) #1 1
Microscope Binning (Y) #1 1
Microscope Blue channel gain #1 1.0
Microscope Brightness #1 0
Microscope Camera Actual Bit Depth #1 8
Microscope Camera Gain Unit #1 10^0x^1
Microscope Camera Maximum Frame Size #1 (1800, 1800)
Microscope Camera Saturation #1 0.0
Microscope Camera White Balance Mode #1 4
Microscope Camera gain #1 1.0
Microscope Clipping #1 (0, 0, 1800, 1800)
Microscope Clipping state #1 0
Microscope Contrast #1 1.0
Microscope Device Configuration Index #01 0
...


The metadata I can get using C++ library
Metadata for Image 0:
Artist = AdminOlympus
BitsPerSample = 8
Compression = 1
Date Time = 0─,
ImageLength = 512
ImageWidth = 474
Instrument Make = Olympus Soft Imaging Solutions
Instrument Model = VC50
Make = Olympus Soft Imaging Solutions
Model = VC50
NumberOfChannels = 3
Orientation = 1
PhotometricInterpretation = 2
Planar Configuration = 1
ResolutionUnit = 2
SamplesPerPixel = 3
XResolution = 72
YResolution = 72
Polaris
 
Posts: 7
Joined: Fri Jul 15, 2016 12:14 pm

Re: Metadata incomplete for C++ bio-formats library

Postby dgault » Mon Jul 25, 2016 9:17 am

Hi, the metadata available through the C++ should be the same as that being read through ImageJ. When you reading in the file in you C++ code, which reader are you using to open it?

Also if you have a file which we could test to reproduce the issue you can upload it to https://www.openmicroscopy.org/qa2/qa/upload/
User avatar
dgault
Team Member
 
Posts: 208
Joined: Fri Aug 14, 2015 2:56 pm


Return to User Discussion [Legacy]

Who is online

Users browsing this forum: No registered users and 1 guest