pub struct ImageInfo {Show 21 fields
pub index: u32,
pub name: Option<String>,
pub size_x: u32,
pub size_y: u32,
pub size_z: u32,
pub size_c: u32,
pub size_t: u32,
pub dimension_order: String,
pub pixel_type: PixelType,
pub samples_per_pixel: u32,
pub physical_size: PhysicalSize,
pub time_increment_s: Option<f64>,
pub channels: Vec<ChannelInfo>,
pub objective: Option<ObjectiveInfo>,
pub instrument: Option<InstrumentInfo>,
pub acquired_at: Option<String>,
pub mosaic: Option<MosaicInfo>,
pub pyramid_levels: u32,
pub resolution_levels: Vec<ResolutionLevel>,
pub plane_count: u64,
pub extra: BTreeMap<String, Value>,
}Expand description
One image (a scene, series, or position) inside the file.
Fields§
§index: u32Zero-based index used by --image.
name: Option<String>Image (scene, series or position) name, if recorded.
size_x: u32Width in pixels.
size_y: u32Height in pixels.
size_z: u32Number of Z planes (focal slices).
size_c: u32Number of channels.
size_t: u32Number of time points.
dimension_order: StringStorage order of planes, e.g. XYCZT (X and Y always first).
pixel_type: PixelTypeSample type of every plane.
samples_per_pixel: u321 for grayscale channels, 3 for interleaved RGB.
physical_size: PhysicalSizePhysical size of one pixel (and the Z step).
time_increment_s: Option<f64>Interval between time points in seconds.
channels: Vec<ChannelInfo>One entry per channel, in channel order.
objective: Option<ObjectiveInfo>The objective lens, if recorded.
instrument: Option<InstrumentInfo>Instrument and software, if recorded.
acquired_at: Option<String>ISO-8601 acquisition start, if recorded.
mosaic: Option<MosaicInfo>Tile layout when the image was acquired as a mosaic.
pyramid_levels: u32Number of resolution levels stored (1 = no pyramid).
resolution_levels: Vec<ResolutionLevel>Size, downsampling and stored tile size of every resolution level, level 0 first. Filled
by readers of pyramidal or tiled images (read a level with --level N, a rectangle
with --region X,Y,W,H); empty otherwise.
plane_count: u64size_z * size_c * size_t.
extra: BTreeMap<String, Value>Format-specific extras that have no OME equivalent, in our own vocabulary.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ImageInfo
impl<'de> Deserialize<'de> for ImageInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for ImageInfo
impl JsonSchema for ImageInfo
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ImageInfo
impl RefUnwindSafe for ImageInfo
impl Send for ImageInfo
impl Sync for ImageInfo
impl Unpin for ImageInfo
impl UnsafeUnpin for ImageInfo
impl UnwindSafe for ImageInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more