Definition at line 5044 of file Bio.cs.
◆ Statistics()
BioCore.Statistics.Statistics |
( |
bool |
bit16 | ) |
|
◆ AddStatistics()
void BioCore.Statistics.AddStatistics |
( |
Statistics |
s | ) |
|
◆ CalcStatistics()
static void BioCore.Statistics.CalcStatistics |
( |
BufferInfo |
bf | ) |
|
|
static |
It creates a new thread, adds the thread to a dictionary, and starts the thread
- Parameters
-
Definition at line 5335 of file Bio.cs.
◆ ClearCalcBuffer()
static void BioCore.Statistics.ClearCalcBuffer |
( |
| ) |
|
|
static |
This function clears the list of numbers and operators.
Definition at line 5344 of file Bio.cs.
◆ Dispose()
void BioCore.Statistics.Dispose |
( |
| ) |
|
The Dispose() function is used to free up memory that is no longer needed.
Definition at line 5417 of file Bio.cs.
◆ DisposeHistogram()
void BioCore.Statistics.DisposeHistogram |
( |
| ) |
|
This function is used to free up the memory used by the histogram
Definition at line 5423 of file Bio.cs.
◆ FromBytes() [1/3]
static void BioCore.Statistics.FromBytes |
( |
| ) |
|
|
static |
It takes the data from the byte array and converts it into a string.
Definition at line 5326 of file Bio.cs.
◆ FromBytes() [2/3]
It takes a byte array, and returns an array of Statistics objects
- Parameters
-
- Returns
- An array of Statistics objects.
Definition at line 5319 of file Bio.cs.
◆ FromBytes() [3/3]
static Statistics[] BioCore.Statistics.FromBytes |
( |
byte[] |
bts, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
rGBChannels, |
|
|
int |
BitsPerPixel, |
|
|
int |
stride |
|
) |
| |
|
static |
It takes a byte array, width, height, number of channels, bits per pixel, and stride, and returns an array of Statistics objects
- Parameters
-
bts | the byte array of the image |
w | width of the image |
h | height of the image |
rGBChannels | The number of channels in the image. |
BitsPerPixel | 8 or 16 |
stride | The number of bytes per row. |
- Returns
- An array of Statistics objects.
Definition at line 5142 of file Bio.cs.
◆ GetPoints()
PointF[] BioCore.Statistics.GetPoints |
( |
int |
bin | ) |
|
It takes an array of floats, and returns an array of points, where each point is the average of the values in the original array
- Parameters
-
bin | The number of pixels to skip when sampling the image. |
- Returns
- An array of points.
Definition at line 5406 of file Bio.cs.
◆ MeanHistogram()
void BioCore.Statistics.MeanHistogram |
( |
| ) |
|
This function takes the sum of all the values in the stack and divides it by the number of values in the stack.
The stackMean is the average of all the values in the stack.
The stackMedian is the highest value in the stack.
The stackValues is the array of values in the stack.
The count is the number of values in the stack.
The meansum is the sum of all the values in the stack.
Definition at line 5384 of file Bio.cs.
◆ list
◆ BitsPerPixel
int BioCore.Statistics.BitsPerPixel |
|
get |
◆ Max
int BioCore.Statistics.Max |
|
get |
◆ Mean
double BioCore.Statistics.Mean |
|
get |
◆ Median
float BioCore.Statistics.Median |
|
get |
◆ Min
int BioCore.Statistics.Min |
|
get |
◆ StackMax
float BioCore.Statistics.StackMax |
|
get |
◆ StackMean
float BioCore.Statistics.StackMean |
|
get |
◆ StackMedian
float BioCore.Statistics.StackMedian |
|
get |
◆ StackMin
float BioCore.Statistics.StackMin |
|
get |
◆ StackValues
float [] BioCore.Statistics.StackValues |
|
get |
◆ Values
int [] BioCore.Statistics.Values |
|
getset |
The documentation for this class was generated from the following file: