Package painter. August 13, 2018

Similar documents
Package schoenberg. June 26, 2018

Package hcandersenr. January 20, 2019

Package RSentiment. October 15, 2017

Package colorpatch. June 10, 2017

Package rasterimage. September 10, Index 5. Defines a color palette

Package machina. October 7, 2016

Package Polychrome. R topics documented: November 20, 2017

Package ForImp. R topics documented: February 19, Type Package. Title Imputation of Missing Values Through a Forward Imputation.

Package yarrr. April 19, 2017

Essence of Image and Video

Dell SDK for Monitors Application Programming Interface Guide. for SDK version 1.4

Package knitcitations

Introduction to GRIP. The GRIP user interface consists of 4 parts:

Computer Graphics: Overview of Graphics Systems

Package icaocularcorrection

Computer and Machine Vision

Package spotsegmentation

Murdoch redux. Colorimetry as Linear Algebra. Math of additive mixing. Approaching color mathematically. RGB colors add as vectors

Chapt er 3 Data Representation

B I O E N / Biological Signals & Data Acquisition

Supplemental Material: Color Compatibility From Large Datasets

TITLE MASTER GARDENER PROGRAMS STYLE GUIDE MASTER GARDENER STYLE GUIDE

Chapter 1: Data Storage. Copyright 2015 Pearson Education, Inc.

AMBA Development Network Brand Usage and Style Guidelines

Circular Statistics Applied to Colour Images

Discreet Logic Inc., All Rights Reserved. This documentation contains proprietary information of Discreet Logic Inc. and its subsidiaries.

[source unknown] Cornell CS465 Fall 2004 Lecture Steve Marschner 1

2 Select the magic wand tool (M) in the toolbox. 3 Click the sky to select that area. Add to the. 4 Click the Quick Mask Mode button(q) in

8/30/2010. Chapter 1: Data Storage. Bits and Bit Patterns. Boolean Operations. Gates. The Boolean operations AND, OR, and XOR (exclusive or)

Nintendo. January 21, 2004 Good Emulators I will place links to all of these emulators on the webpage. Mac OSX The latest version of RockNES

The Development of a Synthetic Colour Test Image for Subjective and Objective Quality Assessment of Digital Codecs

VHR 16 User s Manual

Displays and framebuffers

amplipex KJE-1001 recording system Updated:

Review. What about images? What about images? Slides04 - RGB-Pixels.key - September 22, 2015

!"#"$%& Some slides taken shamelessly from Prof. Yao Wang s lecture slides

Package crimelinkage

colors AN INTRODUCTION TO USING COLORS FOR UNITY v1.1

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Import and quantification of a micro titer plate image

Phenopix - Exposure extraction

DICOM Correction Proposal

Recap of Last (Last) Week

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Announcements. Project Turn-In Process. and URL for project on a Word doc Upload to Catalyst Collect It

Multicore Design Considerations

DIGITAL ELECTRONICS & it0203 Semester 3

Part 1: Introduction to Computer Graphics

EE 350. Continuous-Time Linear Systems. Recitation 2. 1

Brand Style Guide January 2018

Switching Circuits & Logic Design, Fall Final Examination (1/13/2012, 3:30pm~5:20pm)

I D E N T I T Y G U I D E L I N E S

SMPTE 259M EG-1 Color Bar Generation, RP 178 Pathological Generation, Grey Pattern Generation IP Core AN4087

High-Definition, Standard-Definition Compatible Color Bar Signal

sdiscope Signal Analysis Software Version 6

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

Inputs and Outputs. Review. Outline. May 4, Image and video coding: A big picture

Evaluation Board for CS4954/55

A Toolbox for Manipulating and Assessing Color Palettes for Statistical Graphics

AMIRA & ALEXA Mini Color by Numbers

RECOMMENDATION ITU-R BT (Questions ITU-R 25/11, ITU-R 60/11 and ITU-R 61/11)

Real-time body tracking of a teacher for automatic dimming of overlapping screen areas for a large display device being used for teaching

for File Format for Digital Moving- Picture Exchange (DPX)

Processing. Electrical Engineering, Department. IIT Kanpur. NPTEL Online - IIT Kanpur

COGS 119/219 MATLAB for Experimental Research. Fall 2017 Image Processing in Matlab

Using the NTSC color space to double the quantity of information in an image

This tool is the collection of all the fundamental rules for the use of BOCAhealth brand. Its use helps to make all the communication tools coherent

Midterm Exam 15 points total. March 28, 2011

This guide gives details of the effects available on the FX selection DMX channels 15 and 17 in the MAC Aura.

CLICK TO GO BACK TO THE START CLICK TO JUMP TO ANY SECTION

1/29/2008. Announcements. Announcements. Announcements. Announcements. Announcements. Announcements. Project Turn-In Process. Quiz 2.

Announcements. Project Turn-In Process. Project 1A: Project 1B. and URL for project on a Word doc Upload to Catalyst Collect It

HD-SDI Express User Training. J.Egri 4/09 1

Outline. Why do we classify? Audio Classification

Preventing Illegal Colors

Understanding Human Color Vision

Introduction & Colour

LED Light Achieves The Colour Rendering Of Sunlight. Hubert Ott Technical Marketing Director Lighting Avnet Silica

Chapter Eight. Digital Imaging and Mapping. 8. Analog vs. digital imaging. 8.1 Analog images

Troubleshooting and Analyzing Digital Video Signals with CaptureVu

Program Identity Guidelines

How do you make a picture?

2018 LOGO STYLE GUIDE

Displays and framebuffers. CSE 457 Winter 2015

Chapter 4 Color in Image and Video. 4.1 Color Science 4.2 Color Models in Images 4.3 Color Models in Video

SMPTE 292M EG-1 Color Bar Generation, RP 198 Pathological Generation, Grey Pattern Generation IP Core - AN4088

LOGO MANUAL. Definition of the basic use of the logo

DICOM Correction Item

Data Representation. signals can vary continuously across an infinite range of values e.g., frequencies on an old-fashioned radio with a dial

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

brand manual partners edition

2018 Teradek, LLC. All Rights Reserved. REFERENCE GUIDE

St. Lawrence University Identity Guide

Escaping RGBland: Selecting Colors for Statistical Graphics

Alpha channel A channel in an image or movie clip that controls the opacity regions of the image.

J-Syncker A computational implementation of the Schillinger System of Musical Composition.

Optimization of Multi-Channel BCH Error Decoding for Common Cases. Russell Dill Master's Thesis Defense April 20, 2015

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University

Appendix 13 Phillips Hue

Transcription:

Package painter August 13, 2018 Type Package Title Creation and Manipulation of Color Palettes Version 0.1.0 Functions for creating color palettes, visualizing palettes, modifying colors, and assigning colors for plotting. License GPL-3 Encoding UTF-8 LazyData true NeedsCompilation no Author [aut, cre] Maintainer <bsandel@scu.edu> Repository CRAN Date/Publication 2018-08-13 14:20:03 UTC R topics documented: ColorBy........................................... 2 Complement......................................... 3 GetOpacity......................................... 3 Mix............................................. 4 Palette............................................ 5 SetOpacity.......................................... 6 TestPalette.......................................... 7 Index 8 1

2 ColorBy ColorBy Assign colors using one or two numeric vectors These functions are intended to be used to color plotting symbols according to some numeric values or pair of numeric values associated with each point ColorBy(x, palette) ColorBy2(x,y,palette1, palette2, mode = "RGB") x y palette palette1 palette2 mode A vector of numeric values to color the points by A vector of numeric values to color the points by, must be of the same length as x A vector of colors A vector of colors A vector of colors Specifies whether color mixtures should be in "RGB" or "HSV" mode A vector of colors of the same length as x x = runif(100) y = runif(100) colors = ColorBy(x,rainbow(100)) plot(x,y,col=colors,pch=16,cex=2) colors = ColorBy2(x,y,SetSaturation("Red",seq(0,1,0.1)),SetSaturation("Blue",seq(0,1,0.1))) plot(x,y,col=colors,pch=16,cex=2)

Complement 3 Complement Generate the complement (opposite hue) of a color, or generate a palette from a color and its complement. Given a color, Complement() maintains the same value and saturation, but returns a color of the opposite hue. ComplementPalette() creates a color palette that ramps between a color and its complement. Complement(color) ComplementPalette(color,n=100) color n A color or (for Complement) possibly a vector of colors The number of colors to produce For Complement(), a vector of colors with the same length as color. For ComplementPalette() a vector of n colors TestPalette(Complement(terrain.colors(100))) TestPalette(ComplementPalette("blue")) GetOpacity Extract the opacity, hue, saturation or value from a color or vector of colors These functions simply extact information about a given color or vector of colors, given either as names (e.g. "red") or hex codes (e.g. "FF0000")

4 Mix GetOpacity(color) GetHue(color) GetSaturation(color) Get(color) color A color or vector of colors Numeric value(s) between 0 and 1, with the same length as color Get("red") GetOpacity("blue") GetHue(rainbow(100)) Mix Create mixtures of color pairs, in either RGB or HSV mode. Creates a mixture between pairs of colors by averaging their red/green/blue components (RGB mode), or hue/saturation/value components (HSV mode) Mix(color1, color2, mode = "RGB",circular = TRUE) color1 color2 mode circular A color or vector of colors, either specified by name (e.g. "red") or hex code (e.g. "FF0000") A second color or vector of colors. If color1 and color2 are not the same length, but one is an integer multiple of the other, the shorter one will be recycled. Either "RGB" or "HSV", specifies whether to find the intermediate color in RGB space or HSV space. If using mode = "HSV", specifies whether to ramp between hues using circular means. This is usually a good idea because hues are essentially circular (a hue of 0.01 is very similar to 0.99).

Palette 5 A color TestPalette(Mix("Red","Yellow")) TestPalette(c("Red",Mix("Red","Yellow"),"Yellow")) TestPalette(c("salmon",Mix("salmon","turquoise"),"turquoise")) TestPalette(c("salmon",Mix("salmon","turquoise",mode = "HSV"),"turquoise")) TestPalette(Mix(rainbow(10),terrain.colors(10))) Palette Generates a color palette (a vector of colors) between two specified colors. Generates a vector of n colors that ramp between the two specified colors, evenly spaced in either RGB space (mode = "RGB") or HSV space (mode = "HSV") Palette(color1, color2, n, mode = "RGB",circular = TRUE) color1 color2 n mode circular A color, either specified by name (e.g. "red") or hex code (e.g. "FF0000") A second color The number of colors to produce Either "RGB" or "HSV", specifies whether to ramp between the colors in RGB space or HSV space. If using mode = "HSV", specifies whether to ramp between hues using circular means. This is usually a good idea because hues are essentially circular (a hue of 0.01 is very similar to 0.99), but produces results with a clear break if the span of hues covers more than half of the circle. A vector of n colors.

6 SetOpacity TestPalette(Palette("Green","Red",100)) TestPalette(Palette("Green","Red",100,"HSV")) SetOpacity Modify the opacity, hue, saturation or value of color(s) Change the charactistics of a color or vector of colors SetOpacity(color,opacity) SetHue(color,hue) SetSaturation(color,saturation) Set(color,value) color opacity hue saturation value a vector of colors a vector of new opacity values a vector of new hues a vector of new saturations a vector of new values Details These functions accept colors specified by name (e.g. "red") or hex codes (e.g. "FF0000"). If the color argument and the other argument both have length n, then each color will be assigned the corresponding new opacity, hue, saturation or value. Otherwise, at least one of the arguments should have length 1, in which case each it will be recycled to length n. A vector of colors of length n.

TestPalette 7 TestPalette(SetOpacity("red",seq(0,1,0.02))) TestPalette(SetHue("red",seq(0,1,0.02))) TestPalette(SetSaturation("red",seq(0,1,0.02))) TestPalette(Set("red",seq(0,1,0.02))) x = runif(200) y = runif(200) color = SetHue("red",x) color = Set(color,y) plot(x,y,col = color,pch = 16,cex = 2) TestPalette Tools for seeing a palette, and how it spans HSV space. TestPalette() simply produces a row of bars of colors, with as many bars as there are elements of the supplied color vector. VisPalette() displays the HSV values of the palette. TestPalette(color) VisPalette(color) color A vector of colors. Nothing is returned. pal = Palette("Red","Blue",100) TestPalette(pal) VisPalette(pal)

Index Topic color ColorBy, 2 Complement, 3 GetOpacity, 3 Mix, 4 Palette, 5 SetOpacity, 6 TestPalette, 7 ColorBy, 2 ColorBy2 (ColorBy), 2 Complement, 3 ComplementPalette (Complement), 3 GetHue (GetOpacity), 3 GetOpacity, 3 GetSaturation (GetOpacity), 3 Get (GetOpacity), 3 Mix, 4 Palette, 5 SetHue (SetOpacity), 6 SetOpacity, 6 SetSaturation (SetOpacity), 6 Set (SetOpacity), 6 TestPalette, 7 VisPalette (TestPalette), 7 8