public final class HSB extends ColorFunction
ColorFunction.Channelempty| Constructor and Description |
|---|
HSB(IFunction hue,
IFunction saturation,
IFunction brightness) |
HSB(IFunction fn,
int channel)
Creates an HSB with only the given channel filled, from 1 to 4,
where HSB is really ARGB and thus A=4, R=3, G=2, B=1.
|
HSB(Image<? extends RealType<?>> img)
Interpret the @param img as an HSB image.
|
HSB(Object hue)
|
HSB(Object ob,
int channel)
Creates an HSB with only the given channel filled, from 1 to 4,
where HSB is really ARGB and thus A=4, R=3, G=2, B=1.
|
HSB(Object hue,
Object saturation)
|
HSB(Object hue,
Object saturation,
Object brightness)
|
| Modifier and Type | Method and Description |
|---|---|
IFunction |
duplicate() |
double |
eval()
Returns each HSB value packed in an
int that is casted to double. |
void |
findCursors(Collection<Cursor<?>> cursors)
Put any cursors in use by this function (and any nested functions) in @param cursors.
|
asImage, asImage, wrappublic HSB(IFunction fn, int channel) throws IllegalArgumentException
Exception - If the channel < 1 or > 4.IllegalArgumentExceptionpublic HSB(Object ob, int channel) throws Exception, IllegalArgumentException
ob - can be an instance of Image, Number, IFunction, or null.Exception - If the channel < 1 or > 4.IllegalArgumentExceptionpublic final double eval()
int that is casted to double.public final void findCursors(Collection<Cursor<?>> cursors)
IFunctionCopyright © 2015–2021 Fiji. All rights reserved.