Description Usage Arguments Details Fields and Methods Author(s) See Also
Package: R.colors
Class MonochromeColorFilter
Object
~~|
~~+--
ColorFilter
~~~~~~~|
~~~~~~~+--
MonochromeColorFilter
Directly known subclasses:
public static class MonochromeColorFilter
extends ColorFilter
Class representing a monochrome color filter. All colors filtered through a MonochromeColorFilter will be monochrome colors.
1 | MonochromeColorFilter(threshold=0.5, monocolors=c("#FFFFFF", "#000000"), coefficients=c(0.3, 0.59, 0.11))
|
threshold |
A |
monocolors |
A |
coefficients |
|
Conceptually, the input colors are filtered through a grayscale color filter and then thresholded. Values below the threshold is set to the second monochrome color and values equal or above to the first.
Methods:
getColors | - | |
Methods inherited from ColorFilter:
getColors
Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, registerFinalizer, save
Henrik Bengtsson (http://www.braju.com/R/)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.