public class ChannelCollection extends Object
Constructor and Description |
---|
ChannelCollection()
Constructs a new empty channel collection.
|
ChannelCollection(ColorRGB color)
Constructs a ChannelCollection containing the three RGB values of a given
color.
|
ChannelCollection(List<Double> values)
Constructs a new channel collection from a list of Double values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areInteger()
Returns true if all channels in the collection can be exactly represented
with integer types.
|
long |
getChannelCount()
Returns the number of channels in the collection
|
double |
getChannelValue(long chan)
Gets the value of a channel in the collection
|
public ChannelCollection()
public ChannelCollection(List<Double> values)
public ChannelCollection(ColorRGB color)
public long getChannelCount()
public double getChannelValue(long chan)
public boolean areInteger()
Copyright © 2014–2022 ImageJ. All rights reserved.