Aurelon Open API 8.1.1
Loading...
Searching...
No Matches
AOI_Bitmap.h
1/*
2 * AOI_Bitmap
3 * Copyright (c) 2007 Aurelon BV. All rights reserved.
4 *
5 */
6#pragma once
7
8#include "AOI_ColorSpace.h"
9
10class AOI_Bitmap
11{
12public:
13 int32_t width;
14 int32_t height;
15 int32_t rowBytes;
16 int32_t components;
17 int32_t bits;
18 AOI_ColorSpace* space;
19};
20typedef AOI_Bitmap* AOI_BitmapPtr;
21
23{
24public:
25 typedef enum MaskType
26 {
27 eNone = 0,
28 eRanges,
29 eImage,
30 eMaxEnumMaskType = 0xFFFFFFFFL
31 } MaskType;
32
33 void GetBitmapData( AOI_Bitmap& ) const;
34 void GetMaskRange( uint16_t[ MAX_CHANNELS ], uint16_t[ MAX_CHANNELS ] ) const;
35 AOI_Object_Bitmap* GetMaskImage() const;
36 MaskType GetMaskType() const;
37 uint16_t GetMaskMin( uint16_t ) const;
38 uint16_t GetMaskMax( uint16_t ) const;
39 void RemoveMask();
40 AOI_ColorSpacePtr GetColorSpace() const;
41 void OpenImageData() const;
42 void CloseImageData() const;
43 bool GetImageData( uint32_t startLine, uint32_t count, void* outData ) const;
44 float GetPixel( int32_t, int32_t, AOI_Color& ) const;
45};
BitmapT container.
Definition AOI_Bitmap.h:23