|
|
| ImageView (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
|
uint | GetDimensionCount () |
| | Returns the dimension of the View.
|
| |
|
bool | Support (ImageCapabilitySet flags) |
| | Checks if the ImageView supports the given capabilities.
|
| |
|
virtual ImageCapabilitySet | GetCapabilities () |
| | Return the capabilities of this image.
|
| |
| virtual VectorXu64 | GetShape () |
| | Return the shape of the image, each component containing the size in this dimension.
|
| |
|
virtual DataType | GetType () |
| | Return the data type of the samples of this image.
|
| |
|
virtual ReadonlyImageProperties | GetProperties () |
| | Return the view's properties.
|
| |
|
string | ToString () |
| | Return a string representation.
|
| |
| virtual ReadonlyMetadataNode | GetMetadata () |
| | Return the root node of the metadata attached to this image.
|
| |
| unsafe void | Read (VectorXu64 index, byte[] dst) |
| | Read the data at the given index into a buffer.
|
| |
| unsafe void | ReadRegion (RegionXu64 region, byte[] dst) |
| | Read a region of the image into a buffer.
|
| |
| ImageInterpretation | GetImageInterpretation () |
| | Shortcut to access Image interpretation from image properties.
|
| |
| ImageType | GetAxesInterpretation () |
| | Shortcut to access axes interpretation from image properties.
|
| |
| Vector3d | GetSpatialOrigin () |
| | Shortcut to access spatial origin from image properties.
|
| |
| Vector3d | GetSpatialSpacing () |
| | Shortcut to access spatial spacing from image properties.
|
| |
| string | GetSpatialUnit () |
| | Shortcut to access the spatial unit from image properties.
|
| |
| SpatialDirections | GetSpatialDirections () |
| | Shortcut to access spatial directions from image properties.
|
| |
| uint | GetBitDepth () |
| | Shortcut to access the sample bitdepth from image properties.
|
| |
| bool | GetHasAlpha () |
| | Shortcut to access hasAlpha status from image properties.
|
| |
| Vector2d | GetValueRange () |
| | Shortcut to access the sample value range from image properties.
|
| |
| virtual void | SetProperties (ReadonlyImageProperties properties) |
| | Update the image's properties.
|
| |
| virtual void | SetMetadata (MetadataNode metadata) |
| | Attach a new metadata node to the image.
|
| |
| unsafe void | Write (VectorXu64 index, byte[] src) |
| | Write value from a buffer at the given index.
|
| |
| unsafe void | WriteRegion (RegionXu64 region, byte[] src) |
| | Write a input buffer into a given region of the image.
|
| |
| void | SetImageInterpretation (ImageInterpretation interpretation) |
| | Shortcut to set Image interpretation into image properties.
|
| |
| void | SetAxesInterpretation (ImageType type) |
| | Shortcut to set axes interpretation into image properties.
|
| |
| void | SetSpatialOrigin (Vector3d origin) |
| | Shortcut to set spatial origin into image properties.
|
| |
| void | SetSpatialSpacing (Vector3d spacing) |
| | Shortcut to set spatial spacing into image properties.
|
| |
| void | SetSpatialUnit (string unit) |
| | Shortcut to set spatial unit into image properties.
|
| |
| void | SetSpatialDirections (SpatialDirections directions) |
| | Shortcut to set spatial direcitons into image properties.
|
| |
| void | SetBitDepth (uint bitDepth) |
| | Shortcut to set sample bitdepth into image properties.
|
| |
| void | SetAlpha (bool value) |
| | Shortcut to indicate the presence of an alpha channel into image properties.
|
| |
| void | SetValueRange (Vector2d range) |
| | Shortcut to set sample value range into image properties.
|
| |
| virtual void | Reshape (VectorXu64 shape, DataType dataType) |
| | Change the shape and sample data type of the image.
|
| |
|
TilingInfoExtension | TilingInfo () |
| | Shortcut to retrieve TilingInfo extension.
|
| |
|
ParallelAccessExtension | ParallelAccess () |
| | Shortcut to retrieve ParallelAccess extension.
|
| |
| global::System.IntPtr | RawBuffer () |
| |
|
| View (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
|
void | Dispose () |
| |
| T | Extension< T > () |
| | Get an extension, with automatic upcasting.
|
| |
| virtual Extension | Extension (uint id) |
| | Get an extension of the view, corresponding to the given identifier.
|
| |
|
ViewOriginExtension | ViewOrigin () |
| | Shortcut to access to ViewOrigin extension.
|
| |
|
|
ImageCapabilitySet | Capabilities [get] |
| | The Capabilities on the ImageView
|
| |
|
uint | DimensionCount [get] |
| | The number of dimensions in this ImageView's shape.
|
| |
|
VectorXu64 | Shape [get] |
| | The ImageView shape, the size of each of its dimensions.
|
| |
|
DataType | Type [get] |
| | The type of the image's elements.
|
| |
|
ReadonlyImageProperties | Properties [get, set] |
| | The ImageProperties associated with this ImageView instance.
|
| |
|
ReadonlyMetadataNode | Metadata [get, set] |
| | The MetadataNode associated with this ImageView instance.
|
| |
|
ImageInterpretation | ImageInterpretation [get, set] |
| | The ImageInterpretation associated with this ImageView instance.
|
| |
|
ImageType | AxesInterpretation [get, set] |
| | The AxesInterpretation associated with this ImageView instance.
|
| |
|
uint | BitDepth [get, set] |
| | The BitDepth associated with this ImageView instance.
|
| |
|
bool | HasAlpha [get, set] |
| | The HasAlpha associated with this ImageView instance.
|
| |
|
SpatialDirections | SpatialDirections [get, set] |
| | The SpatialDirections associated with this ImageView instance.
|
| |
|
Vector3d | SpatialOrigin [get, set] |
| | The SpatialOrigin associated with this ImageView instance.
|
| |
|
Vector3d | SpatialSpacing [get, set] |
| | The SpatialSpacing associated with this ImageView instance.
|
| |
|
string | SpatialUnit [get, set] |
| | ImageView instance
|
| |
|
Vector2d | ValueRange [get, set] |
| | ImageView instance
|
| |
Interface representing an N dimensional image.
This class can handle multidimensional image, for example:
- A 2D image has 2 dimensions.
- A 3D Volume has 3 dimensions.
- A 2D time series has 3 dimensions, where 3rd one represent time.
This interface capabilities are indicated by the ImageCapabilitySet returned by the method ImageView::capabilities. Each capability enable the use of a specific set of methods. When one of those methods is called, if its corresponding capability is not supported, a NotImplemented exception will be thrown.
An ImageView is composed of the following parts:
- A shape, that describes the size of the dataset along each of its axes.
- A data type, giving info on what is stored on each element of the dataset.
- Properties, giving generic info on the image, such as its spatial calibration, the semantic of its dimensions, and detailed information on its elements.
- Metadata, hierarchical tree of key/value pair, describing arbitrary information.
- Image's data itself.
- Examples
- CheckerBoard.cs, CheckerBoardFast.cs, ColorWheel.cs, CopyImageView.cs, DiskImageView.cs, GradientFloatImage.cs, GradientFloatToInt.cs, GrayscaleSphere.cs, MetadataTree.cs, and VolumeFromStack.cs.