Atlas-Cronos  7.0.1
Public Member Functions | Properties | List of all members
Flir.Atlas.Image.Interfaces.IPixels Interface Reference

IPixels provides basic methods to handle pixels. More...

Inheritance diagram for Flir.Atlas.Image.Interfaces.IPixels:
Flir.Atlas.Image.Helpers.BitmapSourceWrapper Flir.Atlas.Image.Helpers.BitmapWrapper

Public Member Functions

void LockPixelData ()
 Locks the PixelData. More...
 
void UnlockPixelData ()
 Unlocks the PixelData. More...
 
void SetSize (int width, int height)
 Sets a new size of the IPixels. More...
 

Properties

int Width [get]
 Returns the Width in pixels. /summary>
 
int Height [get]
 Returns the Height in pixels. More...
 
ImagePixelFormat PixelFormat [get]
 Gets the PixelFormat of the pixels. More...
 
int Stride [get]
 Distance in bytes between starts of consecutive lines in the source image. More...
 
IntPtr PixelData [get]
 Pointer to pixel data. More...
 

Detailed Description

IPixels provides basic methods to handle pixels.

Member Function Documentation

◆ LockPixelData()

void Flir.Atlas.Image.Interfaces.IPixels.LockPixelData ( )

Locks the PixelData.

The application should call LockPixelData before using the PixelData pointer.

Implemented in Flir.Atlas.Image.Helpers.BitmapWrapper, and Flir.Atlas.Image.Helpers.BitmapSourceWrapper.

◆ SetSize()

void Flir.Atlas.Image.Interfaces.IPixels.SetSize ( int  width,
int  height 
)

Sets a new size of the IPixels.

Parameters
widthNew width.
heightNew height.

Implemented in Flir.Atlas.Image.Helpers.BitmapSourceWrapper, and Flir.Atlas.Image.Helpers.BitmapWrapper.

◆ UnlockPixelData()

void Flir.Atlas.Image.Interfaces.IPixels.UnlockPixelData ( )

Unlocks the PixelData.

The application should call UnlockPixelData after processing the PixelData.

Implemented in Flir.Atlas.Image.Helpers.BitmapSourceWrapper, and Flir.Atlas.Image.Helpers.BitmapWrapper.

Property Documentation

◆ Height

int Flir.Atlas.Image.Interfaces.IPixels.Height
get

Returns the Height in pixels.

◆ PixelData

IntPtr Flir.Atlas.Image.Interfaces.IPixels.PixelData
get

Pointer to pixel data.

Before using the PixelData the application must call LockPixelData and UnlockPixelData when it's done processing the pixel data.

◆ PixelFormat

ImagePixelFormat Flir.Atlas.Image.Interfaces.IPixels.PixelFormat
get

Gets the PixelFormat of the pixels.

◆ Stride

int Flir.Atlas.Image.Interfaces.IPixels.Stride
get

Distance in bytes between starts of consecutive lines in the source image.