Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
ColorStatistics.java
1
package
ij.process;
2
import
ij.measure.Calibration;
3
5
public
class
ColorStatistics
extends
ImageStatistics
{
6
10
public
ColorStatistics
(
ImageProcessor
ip) {
11
this
(ip, AREA+MEAN+MODE+MIN_MAX, null);
12
}
13
17
public
ColorStatistics
(
ImageProcessor
ip,
int
mOptions,
Calibration
cal) {
18
ColorProcessor
cp = (
ColorProcessor
)ip;
19
histogram = cp.
getHistogram
();
20
setup(ip, cal);
21
getRawStatistics(0,255);
22
if
((mOptions&MIN_MAX)!=0)
23
getRawMinAndMax(0,255);
24
if
((mOptions&ELLIPSE)!=0)
25
fitEllipse(ip);
26
else
if
((mOptions&CENTROID)!=0)
27
getCentroid(ip);
28
}
29
30
}
squiz_matrix
fudge
image_editor
src
ij
process
ColorStatistics.java
Generated on Tue Jan 29 2013 14:04:52 for Squiz Matrix by
1.8.3.1