C# Alpr Structures

OneML.Alpr.Image : public global.SystemIDisposable

The Image class is used as a representation of an input image.

Public Functions

inline void Dispose()

Gracefully destroy the object and free memory.

inline void SetWidth(ushort value)

Set Image width.

Parameters
  • value: an integer value.

inline void SetHeight(ushort value)

Set Image height.

Parameters
  • value: an integer value.

inline void SetDepth(ushort value)

Set Image depth.

Parameters
  • value: an integer value.

inline ushort GetWidth()

Get Image width.

Return

an integer value.

inline ushort GetHeight()

Get Image height.

Return

an integer value.

inline ushort GetDepth()

Get Image depth.

Return

a short value.

inline void SetBuffer (byte[] data_in)

Set Image data as a buffer.

Parameters
  • data_in: a byte array.

inline Image (int w, int h, short d, byte[] data_in)

Create an Image instance from a byte array.

Parameters
  • w: image width.

  • h: image height.

  • d: image depth.

  • data_in: pointer to image data.

inline byte[] GetBuffer ()

Get Image data as a byte array.

Return

a byte array.

inline byte[] GetArray ()

Get Image data as a byte array.

Return

a byte array.

OneML.Alpr.ImageBatch : public global.SystemIDisposable , public global.SystemCollections.IEnumerable , public global::SystemCollections::Generic::IEnumerable< Image >

The ImageBatch class is used as a container for Image class.

ImageBatchEnumerator : public global.SystemCollections.IEnumerator , public global::SystemCollections::Generic::IEnumerator< Image >

Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever the collection is modified.

This has been done for changes in the size of the collection but not when one of the elements of the collection is modified as it is a bit tricky to detect unmanaged code that modifies the collection under our feet.

namespace OneML
namespace Alpr
BBox : public global.SystemIDisposable
top: y coordinate of the top of the bounding box
left: x coordinate of the left of the bounding box
bottom: y coordinate of the bottom of the bounding box
right: x coordinate of the right of the bounding box
OneML.Alpr.BBoxList : public global.SystemIDisposable , public global.SystemCollections.IEnumerable , public global::SystemCollections::Generic::IEnumerable< BBox >

Public Functions

inline void Dispose()

Gracefully destroy the object and free memory.

BBoxListEnumerator : public global.SystemCollections.IEnumerator , public global::SystemCollections::Generic::IEnumerator< BBox >

Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever the collection is modified.

This has been done for changes in the size of the collection but not when one of the elements of the collection is modified as it is a bit tricky to detect unmanaged code that modifies the collection under our feet.

List of BBox objects.