public static class FlyCapture2.Image extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
FlyCapture2.Image()
Default constructor.
|
FlyCapture2.Image(byte[] pData,
int dataSize) |
FlyCapture2.Image(ByteBuffer pData,
int dataSize) |
FlyCapture2.Image(BytePointer pData,
int dataSize)
Construct an Image object with the specified arguments.
|
FlyCapture2.Image(FlyCapture2.Image image)
Copy constructor.
|
FlyCapture2.Image(int size) |
FlyCapture2.Image(int rows,
int cols,
int format) |
FlyCapture2.Image(int rows,
int cols,
int stride,
byte[] pData,
int dataSize,
int format) |
FlyCapture2.Image(int rows,
int cols,
int stride,
byte[] pData,
int dataSize,
int format,
int bayerFormat) |
FlyCapture2.Image(int rows,
int cols,
int stride,
byte[] pData,
int dataSize,
int receivedDataSize,
int format,
int bayerFormat) |
FlyCapture2.Image(int rows,
int cols,
int stride,
ByteBuffer pData,
int dataSize,
int format) |
FlyCapture2.Image(int rows,
int cols,
int stride,
ByteBuffer pData,
int dataSize,
int format,
int bayerFormat) |
FlyCapture2.Image(int rows,
int cols,
int stride,
ByteBuffer pData,
int dataSize,
int receivedDataSize,
int format,
int bayerFormat) |
FlyCapture2.Image(int rows,
int cols,
int stride,
BytePointer pData,
int dataSize,
int format) |
FlyCapture2.Image(int rows,
int cols,
int stride,
BytePointer pData,
int dataSize,
int format,
int bayerFormat)
Construct an Image object with the specified arguments.
|
FlyCapture2.Image(int rows,
int cols,
int stride,
BytePointer pData,
int dataSize,
int receivedDataSize,
int format,
int bayerFormat)
Construct an Image object with the specified arguments.
|
FlyCapture2.Image(int rows,
int cols,
int format,
int bayerFormat)
Construct an Image object with the specified arguments.
|
FlyCapture2.Image(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
BytePointer |
apply(int row,
int col)
Indexing operator.
|
FlyCapture2.Error |
CalculateStatistics(FlyCapture2.ImageStatistics pStatistics)
Calculate statistics associated with the image.
|
FlyCapture2.Error |
Convert(FlyCapture2.Image pDestImage)
Converts the current image buffer to the specified output format and
stores the result in the specified image.
|
FlyCapture2.Error |
Convert(int format,
FlyCapture2.Image pDestImage)
Converts the current image buffer to the specified output format and
stores the result in the specified image.
|
FlyCapture2.Error |
DeepCopy(FlyCapture2.Image pImage)
Perform a deep copy of the Image.
|
static int |
DetermineBitsPerPixel(int format)
Calculate the bits per pixel for the specified pixel format.
|
BytePointer |
get(int index)
Indexing operator.
|
int |
GetBayerTileFormat()
Get the Bayer tile format of the image.
|
int |
GetBitsPerPixel()
Get the bits per pixel of the image.
|
int |
GetBlockId()
get the block id of the Image object.
|
int |
GetColorProcessing()
Get the current color processing algorithm.
|
int |
GetCols()
Get the number of columns in the image.
|
BytePointer |
GetData()
Get a pointer to the data associated with the image.
|
int |
GetDataSize()
Get the size of the buffer associated with the image, in bytes.
|
static int |
GetDefaultColorProcessing()
Get the default color processing algorithm.
|
static int |
GetDefaultOutputFormat()
Get the default output pixel format.
|
void |
GetDimensions(int[] pRows) |
void |
GetDimensions(int[] pRows,
int[] pCols,
int[] pStride,
int[] pPixelFormat,
int[] pBayerFormat) |
void |
GetDimensions(IntBuffer pRows) |
void |
GetDimensions(IntBuffer pRows,
IntBuffer pCols,
IntBuffer pStride,
IntBuffer pPixelFormat,
IntBuffer pBayerFormat) |
void |
GetDimensions(IntPointer pRows) |
void |
GetDimensions(IntPointer pRows,
IntPointer pCols,
IntPointer pStride,
IntPointer pPixelFormat,
IntPointer pBayerFormat)
Get the image dimensions associated with the image.
|
FlyCapture2.ImageMetadata |
GetMetadata()
Get the metadata associated with the image.
|
int |
GetPixelFormat()
Get the current pixel format.
|
int |
GetReceivedDataSize()
Get the size of the compressed data, in bytes.
|
int |
GetRows()
Get the number of rows in the image.
|
int |
GetStride()
Get the stride in the image.
|
FlyCapture2.TimeStamp |
GetTimeStamp()
Get the timestamp data associated with the image.
|
FlyCapture2.Image |
position(int position) |
FlyCapture2.Image |
put(FlyCapture2.Image image)
Assignment operator.
|
FlyCapture2.Error |
ReleaseBuffer()
Release the buffer associated with the Image.
|
FlyCapture2.Error |
Save(BytePointer pFilename) |
FlyCapture2.Error |
Save(BytePointer pFilename,
FlyCapture2.BMPOption pOption)
Save the image to the specified file name with the options specified.
|
FlyCapture2.Error |
Save(BytePointer pFilename,
FlyCapture2.JPEGOption pOption)
Save the image to the specified file name with the options specified.
|
FlyCapture2.Error |
Save(BytePointer pFilename,
FlyCapture2.JPG2Option pOption)
Save the image to the specified file name with the options specified.
|
FlyCapture2.Error |
Save(BytePointer pFilename,
FlyCapture2.PGMOption pOption)
Save the image to the specified file name with the options specified.
|
FlyCapture2.Error |
Save(BytePointer pFilename,
FlyCapture2.PNGOption pOption)
Save the image to the specified file name with the options specified.
|
FlyCapture2.Error |
Save(BytePointer pFilename,
FlyCapture2.PPMOption pOption)
Save the image to the specified file name with the options specified.
|
FlyCapture2.Error |
Save(BytePointer pFilename,
FlyCapture2.TIFFOption pOption)
Save the image to the specified file name with the options specified.
|
FlyCapture2.Error |
Save(BytePointer pFilename,
int format)
Save the image to the specified file name with the file format
specified.
|
FlyCapture2.Error |
Save(String pFilename) |
FlyCapture2.Error |
Save(String pFilename,
FlyCapture2.BMPOption pOption) |
FlyCapture2.Error |
Save(String pFilename,
FlyCapture2.JPEGOption pOption) |
FlyCapture2.Error |
Save(String pFilename,
FlyCapture2.JPG2Option pOption) |
FlyCapture2.Error |
Save(String pFilename,
FlyCapture2.PGMOption pOption) |
FlyCapture2.Error |
Save(String pFilename,
FlyCapture2.PNGOption pOption) |
FlyCapture2.Error |
Save(String pFilename,
FlyCapture2.PPMOption pOption) |
FlyCapture2.Error |
Save(String pFilename,
FlyCapture2.TIFFOption pOption) |
FlyCapture2.Error |
Save(String pFilename,
int format) |
FlyCapture2.Error |
SetBlockId(int blockId)
Set the block id of the Image object.
|
FlyCapture2.Error |
SetColorProcessing(int colorProc)
Set the color processing algorithm.
|
FlyCapture2.Error |
SetData(byte[] pData,
int dataSize) |
FlyCapture2.Error |
SetData(ByteBuffer pData,
int dataSize) |
FlyCapture2.Error |
SetData(BytePointer pData,
int dataSize)
Set the data of the Image object.
|
static FlyCapture2.Error |
SetDefaultColorProcessing(int defaultMethod)
Set the default color processing algorithm.
|
static FlyCapture2.Error |
SetDefaultOutputFormat(int format)
Set the default output pixel format.
|
FlyCapture2.Error |
SetDimensions(int rows,
int cols,
int stride,
int pixelFormat,
int bayerFormat)
Sets the dimensions of the image object.
|
address, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, withDeallocator, zeropublic FlyCapture2.Image(Pointer p)
public FlyCapture2.Image(int size)
public FlyCapture2.Image()
public FlyCapture2.Image(int rows,
int cols,
int stride,
BytePointer pData,
int dataSize,
int format,
int bayerFormat)
rows - Rows in the image.cols - Columns in the image.stride - Stride of the image buffer.pData - Pointer to the image buffer.dataSize - Size of the image buffer.format - Pixel format.bayerFormat - Format of the Bayer tiled raw image.public FlyCapture2.Image(int rows,
int cols,
int stride,
BytePointer pData,
int dataSize,
int format)
public FlyCapture2.Image(int rows,
int cols,
int stride,
ByteBuffer pData,
int dataSize,
int format,
int bayerFormat)
public FlyCapture2.Image(int rows,
int cols,
int stride,
ByteBuffer pData,
int dataSize,
int format)
public FlyCapture2.Image(int rows,
int cols,
int stride,
byte[] pData,
int dataSize,
int format,
int bayerFormat)
public FlyCapture2.Image(int rows,
int cols,
int stride,
byte[] pData,
int dataSize,
int format)
public FlyCapture2.Image(int rows,
int cols,
int stride,
BytePointer pData,
int dataSize,
int receivedDataSize,
int format,
int bayerFormat)
rows - Rows in the image.cols - Columns in the image.stride - Stride of the image buffer.pData - Pointer to the image buffer.dataSize - Size of the image buffer.receivedDataSize - Actual size of data.format - Pixel format.bayerFormat - Format of the Bayer tiled raw image.public FlyCapture2.Image(int rows,
int cols,
int stride,
ByteBuffer pData,
int dataSize,
int receivedDataSize,
int format,
int bayerFormat)
public FlyCapture2.Image(int rows,
int cols,
int stride,
byte[] pData,
int dataSize,
int receivedDataSize,
int format,
int bayerFormat)
public FlyCapture2.Image(BytePointer pData, int dataSize)
pData - Pointer to the image buffer.dataSize - Size of the image buffer.public FlyCapture2.Image(ByteBuffer pData, int dataSize)
public FlyCapture2.Image(byte[] pData,
int dataSize)
public FlyCapture2.Image(int rows,
int cols,
int format,
int bayerFormat)
rows - Rows in the image.cols - Columns in the image.format - Pixel format.bayerFormat - Format of the Bayer tiled raw image.public FlyCapture2.Image(int rows,
int cols,
int format)
public FlyCapture2.Image(FlyCapture2.Image image)
public FlyCapture2.Image position(int position)
public static FlyCapture2.Error SetDefaultColorProcessing(int defaultMethod)
defaultMethod - The color processing algorithm to set.GetDefaultColorProcessing()public static int GetDefaultColorProcessing()
SetDefaultColorProcessing()public static FlyCapture2.Error SetDefaultOutputFormat(int format)
format - The output pixel format to set.GetDefaultOutputFormat()public static int GetDefaultOutputFormat()
SetDefaultOutputFormat()public static int DetermineBitsPerPixel(int format)
format - The pixel format.public FlyCapture2.Image put(FlyCapture2.Image image)
image - The image to copy from.public BytePointer get(int index)
index - The index of the byte to return.public BytePointer apply(int row, int col)
row - The row of the pixel to return.col - The column of the pixel to return.public FlyCapture2.Error DeepCopy(FlyCapture2.Image pImage)
pImage - The Image to copy the data from.public FlyCapture2.Error SetDimensions(int rows, int cols, int stride, int pixelFormat, int bayerFormat)
rows - Number of rows to set.cols - Number of cols to set.stride - Stride to set.pixelFormat - Pixel format to set.bayerFormat - Bayer tile format to set.GetDimensions()public FlyCapture2.Error SetData(BytePointer pData, int dataSize)
pData - Pointer to the image buffer.dataSize - Size of the image buffer.public FlyCapture2.Error SetData(ByteBuffer pData, int dataSize)
public FlyCapture2.Error SetData(byte[] pData, int dataSize)
public FlyCapture2.Error SetBlockId(int blockId)
blockId - The blockId to assign to the image.public int GetBlockId()
public int GetPixelFormat()
public int GetColorProcessing()
SetColorProcessing()public FlyCapture2.Error SetColorProcessing(int colorProc)
colorProc - The color processing algorithm to use.GetColorProcessing()public int GetCols()
public int GetRows()
public int GetStride()
public int GetBitsPerPixel()
public int GetBayerTileFormat()
public int GetDataSize()
public int GetReceivedDataSize()
public void GetDimensions(IntPointer pRows, IntPointer pCols, IntPointer pStride, IntPointer pPixelFormat, IntPointer pBayerFormat)
pRows - Number of rows.pCols - Number of columns.pStride - The stride.pPixelFormat - Pixel format.pBayerFormat - Bayer tile format.public void GetDimensions(IntPointer pRows)
public void GetDimensions(IntBuffer pRows, IntBuffer pCols, IntBuffer pStride, IntBuffer pPixelFormat, IntBuffer pBayerFormat)
public void GetDimensions(IntBuffer pRows)
public void GetDimensions(int[] pRows,
int[] pCols,
int[] pStride,
int[] pPixelFormat,
int[] pBayerFormat)
public void GetDimensions(int[] pRows)
public BytePointer GetData()
public FlyCapture2.ImageMetadata GetMetadata()
public FlyCapture2.Error CalculateStatistics(FlyCapture2.ImageStatistics pStatistics)
pStatistics - The ImageStatistics object to hold the statistics.public FlyCapture2.TimeStamp GetTimeStamp()
public FlyCapture2.Error Save(BytePointer pFilename, int format)
pFilename - Filename to save image with.format - File format to save in.public FlyCapture2.Error Save(BytePointer pFilename)
public FlyCapture2.Error Save(String pFilename, int format)
public FlyCapture2.Error Save(String pFilename)
public FlyCapture2.Error Save(BytePointer pFilename, FlyCapture2.PNGOption pOption)
pFilename - Filename to save image with.pOption - Options to use while saving image.public FlyCapture2.Error Save(String pFilename, FlyCapture2.PNGOption pOption)
public FlyCapture2.Error Save(BytePointer pFilename, FlyCapture2.PPMOption pOption)
pFilename - Filename to save image with.pOption - Options to use while saving image.public FlyCapture2.Error Save(String pFilename, FlyCapture2.PPMOption pOption)
public FlyCapture2.Error Save(BytePointer pFilename, FlyCapture2.PGMOption pOption)
pFilename - Filename to save image with.pOption - Options to use while saving image.public FlyCapture2.Error Save(String pFilename, FlyCapture2.PGMOption pOption)
public FlyCapture2.Error Save(BytePointer pFilename, FlyCapture2.TIFFOption pOption)
pFilename - Filename to save image with.pOption - Options to use while saving image.public FlyCapture2.Error Save(String pFilename, FlyCapture2.TIFFOption pOption)
public FlyCapture2.Error Save(BytePointer pFilename, FlyCapture2.JPEGOption pOption)
pFilename - Filename to save image with.pOption - Options to use while saving image.public FlyCapture2.Error Save(String pFilename, FlyCapture2.JPEGOption pOption)
public FlyCapture2.Error Save(BytePointer pFilename, FlyCapture2.JPG2Option pOption)
pFilename - Filename to save image with.pOption - Options to use while saving image.public FlyCapture2.Error Save(String pFilename, FlyCapture2.JPG2Option pOption)
public FlyCapture2.Error Save(BytePointer pFilename, FlyCapture2.BMPOption pOption)
pFilename - Filename to save image with.pOption - Options to use while saving image.public FlyCapture2.Error Save(String pFilename, FlyCapture2.BMPOption pOption)
public FlyCapture2.Error Convert(int format, FlyCapture2.Image pDestImage)
format - Output format of the converted image.pDestImage - Destination image.public FlyCapture2.Error Convert(FlyCapture2.Image pDestImage)
pDestImage - Destination image.public FlyCapture2.Error ReleaseBuffer()
Copyright © 2014. All Rights Reserved.