IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
ImageViewBase.cs
Go to the documentation of this file.
1using System;
3
5
14
18public abstract class ImageViewBase : IImageView
19{
21 public abstract IntPtr Data { get; }
22
24 public abstract nuint SizeInBytes { get; }
25
27 public abstract nuint LineStartOffset { get; }
28
31
33 public abstract PixelFormatInfo PixelFormatInfo { get; }
34
36 public abstract Size Size { get; }
37
39 public virtual uint Width => Size.Width;
40
42 public virtual uint Height => Size.Height;
43
46
48 public abstract nuint BytesPerLine { get; }
49
51 public abstract Metadata Metadata { get; }
52}
T Width
Gets the width of the size.
Definition Size.cs:37
T Height
Gets the height of the size.
Definition Size.cs:42
Represents a size with integer width and height values.
Definition Size.cs:107
Abstract base class for IImageView implementations, providing common shared logic.
virtual uint Height
Returns the height of the image in pixels.This is a convenience property and effectively forwards to ...
nuint SizeInBytes
Returns the total size number of bytes occupied by the image in the buffer.
nuint LineStartOffset
The byte offset to the first pixel of a line.
virtual uint BitsPerPixel
Returns the number of bits that each pixel occupies.Note that this can also be queried with PixelForm...
nuint BytesPerLine
Returns the number of bytes in a single image row.
virtual uint Width
Returns the width of the image in pixels.This is a convenience property and effectively forwards to S...
IntPtr Data
Returns the pointer to the beginning of the image buffer.
Strongly typed container for image acquisition metadata.
Definition Metadata.cs:233
Provides information and utility functions for pixel formats. The PixelFormatInfo class offers method...
PixelFormat PixelFormat
The underlying pixel format enumeration value.
uint StorageBitsPerPixel
The total number of bits used per pixel for storage.
PixelFormat
Each enumerator represents a specific pixel layout and bit-depth, used for interpreting raw image dat...
Interface for viewing image pixel data from arbitrary sources.
Definition IImageView.cs:21