public static class FlyCapture2.ImageStatistics extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
BLUE
enum FlyCapture2::ImageStatistics::StatisticsChannel
|
static int |
GREEN
enum FlyCapture2::ImageStatistics::StatisticsChannel
|
static int |
GREY
enum FlyCapture2::ImageStatistics::StatisticsChannel
|
static int |
HUE
enum FlyCapture2::ImageStatistics::StatisticsChannel
|
static int |
LIGHTNESS
enum FlyCapture2::ImageStatistics::StatisticsChannel
|
static int |
NUM_STATISTICS_CHANNELS
enum FlyCapture2::ImageStatistics::StatisticsChannel
|
static int |
RED
enum FlyCapture2::ImageStatistics::StatisticsChannel
|
static int |
SATURATION
enum FlyCapture2::ImageStatistics::StatisticsChannel
|
| Constructor and Description |
|---|
FlyCapture2.ImageStatistics()
Default constructor.
|
FlyCapture2.ImageStatistics(FlyCapture2.ImageStatistics other)
Copy constructor.
|
FlyCapture2.ImageStatistics(int size) |
FlyCapture2.ImageStatistics(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
FlyCapture2.Error |
DisableAll()
Disable all channels.
|
FlyCapture2.Error |
EnableAll()
Enable all channels.
|
FlyCapture2.Error |
EnableGreyOnly()
Enable only the grey channel.
|
FlyCapture2.Error |
EnableHSLOnly()
Enable only the HSL channels.
|
FlyCapture2.Error |
EnableRGBOnly()
Enable only the RGB channels.
|
FlyCapture2.Error |
GetChannelStatus(int channel,
BoolPointer pEnabled)
Get the status of a statistics channel.
|
FlyCapture2.Error |
GetHistogram(int channel,
int[] ppHistogram) |
FlyCapture2.Error |
GetHistogram(int channel,
IntBuffer ppHistogram) |
FlyCapture2.Error |
GetHistogram(int channel,
IntPointer ppHistogram) |
FlyCapture2.Error |
GetHistogram(int channel,
PointerPointer ppHistogram)
Get the histogram for the image.
|
FlyCapture2.Error |
GetMean(int channel,
float[] pPixelValueMean) |
FlyCapture2.Error |
GetMean(int channel,
FloatBuffer pPixelValueMean) |
FlyCapture2.Error |
GetMean(int channel,
FloatPointer pPixelValueMean)
Get the mean of the image.
|
FlyCapture2.Error |
GetNumPixelValues(int channel,
int[] pNumPixelValues) |
FlyCapture2.Error |
GetNumPixelValues(int channel,
IntBuffer pNumPixelValues) |
FlyCapture2.Error |
GetNumPixelValues(int channel,
IntPointer pNumPixelValues)
Get the number of unique pixel values in the image.
|
FlyCapture2.Error |
GetPixelValueRange(int channel,
int[] pPixelValueMin,
int[] pPixelValueMax) |
FlyCapture2.Error |
GetPixelValueRange(int channel,
IntBuffer pPixelValueMin,
IntBuffer pPixelValueMax) |
FlyCapture2.Error |
GetPixelValueRange(int channel,
IntPointer pPixelValueMin,
IntPointer pPixelValueMax)
Get the range of a statistics channel.
|
FlyCapture2.Error |
GetRange(int channel,
int[] pMin,
int[] pMax) |
FlyCapture2.Error |
GetRange(int channel,
IntBuffer pMin,
IntBuffer pMax) |
FlyCapture2.Error |
GetRange(int channel,
IntPointer pMin,
IntPointer pMax)
Get the range of a statistics channel.
|
FlyCapture2.Error |
GetStatistics(int channel) |
FlyCapture2.Error |
GetStatistics(int channel,
int[] pRangeMin,
int[] pRangeMax,
int[] pPixelValueMin,
int[] pPixelValueMax,
int[] pNumPixelValues,
float[] pPixelValueMean,
int[] ppHistogram) |
FlyCapture2.Error |
GetStatistics(int channel,
IntBuffer pRangeMin,
IntBuffer pRangeMax,
IntBuffer pPixelValueMin,
IntBuffer pPixelValueMax,
IntBuffer pNumPixelValues,
FloatBuffer pPixelValueMean,
IntBuffer ppHistogram) |
FlyCapture2.Error |
GetStatistics(int channel,
IntPointer pRangeMin,
IntPointer pRangeMax,
IntPointer pPixelValueMin,
IntPointer pPixelValueMax,
IntPointer pNumPixelValues,
FloatPointer pPixelValueMean,
IntPointer ppHistogram) |
FlyCapture2.Error |
GetStatistics(int channel,
IntPointer pRangeMin,
IntPointer pRangeMax,
IntPointer pPixelValueMin,
IntPointer pPixelValueMax,
IntPointer pNumPixelValues,
FloatPointer pPixelValueMean,
PointerPointer ppHistogram)
Get all statistics for the image.
|
FlyCapture2.ImageStatistics |
position(int position) |
FlyCapture2.ImageStatistics |
put(FlyCapture2.ImageStatistics other)
Assignment operator.
|
FlyCapture2.Error |
SetChannelStatus(int channel,
boolean enabled)
Set the status of a statistics channel.
|
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 static final int GREY
public static final int RED
public static final int GREEN
public static final int BLUE
public static final int HUE
public static final int SATURATION
public static final int LIGHTNESS
public static final int NUM_STATISTICS_CHANNELS
public FlyCapture2.ImageStatistics(Pointer p)
public FlyCapture2.ImageStatistics(int size)
public FlyCapture2.ImageStatistics()
public FlyCapture2.ImageStatistics(FlyCapture2.ImageStatistics other)
public FlyCapture2.ImageStatistics position(int position)
public FlyCapture2.ImageStatistics put(FlyCapture2.ImageStatistics other)
other - The ImageStatistics object to copy from.public FlyCapture2.Error EnableAll()
public FlyCapture2.Error DisableAll()
public FlyCapture2.Error EnableGreyOnly()
public FlyCapture2.Error EnableRGBOnly()
public FlyCapture2.Error EnableHSLOnly()
public FlyCapture2.Error GetChannelStatus(int channel, BoolPointer pEnabled)
channel - The statistics channel.pEnabled - Whether the channel is enabled.SetChannelStatus()public FlyCapture2.Error SetChannelStatus(int channel, boolean enabled)
channel - The statistics channel.enabled - Whether the channel should be enabled.GetChannelStatus()public FlyCapture2.Error GetRange(int channel, IntPointer pMin, IntPointer pMax)
channel - The statistics channel.pMin - The minimum possible value.pMax - The maximum possible value.public FlyCapture2.Error GetRange(int channel, IntBuffer pMin, IntBuffer pMax)
public FlyCapture2.Error GetRange(int channel, int[] pMin, int[] pMax)
public FlyCapture2.Error GetPixelValueRange(int channel, IntPointer pPixelValueMin, IntPointer pPixelValueMax)
channel - The statistics channel.pPixelValueMin - The minimum pixel value.pPixelValueMax - The maximum pixel value.public FlyCapture2.Error GetPixelValueRange(int channel, IntBuffer pPixelValueMin, IntBuffer pPixelValueMax)
public FlyCapture2.Error GetPixelValueRange(int channel, int[] pPixelValueMin, int[] pPixelValueMax)
public FlyCapture2.Error GetNumPixelValues(int channel, IntPointer pNumPixelValues)
channel - The statistics channel.pNumPixelValues - The number of unique pixel values.public FlyCapture2.Error GetNumPixelValues(int channel, IntBuffer pNumPixelValues)
public FlyCapture2.Error GetNumPixelValues(int channel, int[] pNumPixelValues)
public FlyCapture2.Error GetMean(int channel, FloatPointer pPixelValueMean)
channel - The statistics channel.pPixelValueMean - The mean of the image.public FlyCapture2.Error GetMean(int channel, FloatBuffer pPixelValueMean)
public FlyCapture2.Error GetMean(int channel, float[] pPixelValueMean)
public FlyCapture2.Error GetHistogram(int channel, PointerPointer ppHistogram)
channel - The statistics channel.ppHistogram - Pointer to an array containing the histogram.public FlyCapture2.Error GetHistogram(int channel, IntPointer ppHistogram)
public FlyCapture2.Error GetHistogram(int channel, IntBuffer ppHistogram)
public FlyCapture2.Error GetHistogram(int channel, int[] ppHistogram)
public FlyCapture2.Error GetStatistics(int channel, IntPointer pRangeMin, IntPointer pRangeMax, IntPointer pPixelValueMin, IntPointer pPixelValueMax, IntPointer pNumPixelValues, FloatPointer pPixelValueMean, PointerPointer ppHistogram)
channel - The statistics channel.pRangeMin - The minimum possible value.pRangeMax - The maximum possible value.pPixelValueMin - The minimum pixel value.pPixelValueMax - The maximum pixel value.pNumPixelValues - The number of unique pixel values.pPixelValueMean - The mean of the image.ppHistogram - Pointer to an array containing the histogram.public FlyCapture2.Error GetStatistics(int channel)
public FlyCapture2.Error GetStatistics(int channel, IntPointer pRangeMin, IntPointer pRangeMax, IntPointer pPixelValueMin, IntPointer pPixelValueMax, IntPointer pNumPixelValues, FloatPointer pPixelValueMean, IntPointer ppHistogram)
public FlyCapture2.Error GetStatistics(int channel, IntBuffer pRangeMin, IntBuffer pRangeMax, IntBuffer pPixelValueMin, IntBuffer pPixelValueMax, IntBuffer pNumPixelValues, FloatBuffer pPixelValueMean, IntBuffer ppHistogram)
public FlyCapture2.Error GetStatistics(int channel, int[] pRangeMin, int[] pRangeMax, int[] pPixelValueMin, int[] pPixelValueMax, int[] pNumPixelValues, float[] pPixelValueMean, int[] ppHistogram)
Copyright © 2014. All Rights Reserved.