Package ImaginR. May 31, 2017

Similar documents
Package Rd2md. May 22, 2017

Package PersomicsArray

Package reddprec. October 17, 2017

Package rtide. May 10, 2017

Package gamesga. June 13, 2017

Package docusignr. October 22, 2017

Package tictactoe. May 26, 2017

Package timeseq. July 17, 2017

Package ROpenDota. R topics documented: May 16, Type Package Title Access OpenDota Services in R Version 0.1.1

Package hexsticker. R topics documented: March 5, Title Create Hexagon Sticker in R Version 0.4.3

Package countrycode. October 27, 2018

Package IQCC. R topics documented: November 15, Title Improved Quality Control Charts Version 0.7

Package countrycode. February 6, 2017

Package ravis. August 29, 2016

Package RVtests. R topics documented: February 19, 2015

Package rreg. January 18, 2018

Package deseasonalize

Package SvyNom. February 24, 2015

Package colordistance

Package randomnames. June 6, 2017

Package crimcv. January 25, Index 6. Fits finite mixtures of Zero-inflated Poisson models

Package forestmodel. R topics documented: April 16, 2017

Package iterpc. April 24, 2018

Package dice. February 15, 2013

Package draw. July 30, 2018

Package ASIP. May 11, 2018

Package bioacoustics

Package evenn. March 10, 2015

Package EILA. February 19, Index 6. The CEU-CHD-YRI admixed simulation data

2. Color spaces Introduction The RGB color space

Package hydroscoper. July 6, 2018

Package linlir. February 20, 2015

Package beadarrayfilter

Package ScrabbleScore

RGB COLORS. Connecting with Computer Science cs.ubc.ca/~hoos/cpsc101

Package gamesnws. February 15, 2013

DD2426 Robotics and Autonomous Systems. Project notes B April

S. Rinzivillo DATA VISUALIZATION AND VISUAL ANALYTICS

Package pedigreemm. R topics documented: February 20, 2015

Package photobiologyfilters

UNIT 7C Data Representation: Images and Sound Principles of Computing, Carnegie Mellon University CORTINA/GUNA

Introduction to Color Theory

Package rwavelet. September 12, 2018

Images and Colour COSC342. Lecture 2 2 March 2015

Package photobiologysensors

Sampling Rate = Resolution Quantization Level = Color Depth = Bit Depth = Number of Colors

Sistemas de Representação Digital em Design

Prof. Feng Liu. Fall /02/2018

A multi-dimensional criteria algorithm for cloud detection in the circumsolar area

Light. intensity wavelength. Light is electromagnetic waves Laser is light that contains only a narrow spectrum of frequencies

Package music. R topics documented: February 24, 2019

Introduction to Color Science (Cont)

2. Color spaces Introduction The RGB color space

UNIT 7C Data Representation: Images and Sound

Package VTrack. R topics documented: February 22, Type Package

Color Transformations

Package JoSAE. August 9, 2015

Package twilight. February 15, 2018

JAMP: Joint Genetic Association of Multiple Phenotypes

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University

MATLAB Image Processing Toolbox

UNIT 7B Data Representa1on: Images and Sound. Pixels. An image is stored in a computer as a sequence of pixels, picture elements.

The permax Package. May 26, 2004

Colour (1) Graphics 2

Package sequoia. August 13, 2018

Computers and Imaging

Package GiniWegNeg. May 24, 2016

Computer Graphics. Si Lu. Fall er_graphics.htm 10/02/2015

USER GUIDE. NEED HELP? Call us on +44 (0)

Color Science. What light is. Measuring light. CS 4620 Lecture 15. Salient property is the spectral power distribution (SPD)

Computer Graphics Si Lu Fall /27/2016

Imaging Process (review)

COMPACONLINE CARD MANAGEMENT MANUAL

Package ContourFunctions

The biops Package. August 14, 2007

LIST OF SYMBOLS AND ABBREVIATIONS

Diversity Image Inspector

Color: Readings: Ch 6: color spaces color histograms color segmentation

Waitlist. We ll let you know as soon as we can. Biggest issue is TAs

Computing with Biologically Inspired Neural Oscillators: Application to Color Image Segmentation

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

Detecting Land Cover Changes by extracting features and using SVM supervised classification

Oversubscription. Sorry, not fixed yet. We ll let you know as soon as we can.

Package Guitar. October 3, 2018

Package pedantics. R topics documented: April 18, Type Package

Digital Imaging & Photoshop

Brief Introduction to Vision and Images

05 Color. Multimedia Systems. Color and Science

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

YIQ color model. Used in United States commercial TV broadcasting (NTSC system).

Getting Started with Blinkt!

Compression and Image Formats

EECS490: Digital Image Processing. Lecture #12

Fading a RGB LED on BeagleBone Black

Prof. Feng Liu. Winter /09/2017

Image Processing & Projective geometry

ImagesPlus Basic Interface Operation

CSSE463: Image Recognition Day 2

Color Image Processing

Transcription:

Type Package Package ImaginR May 31, 2017 Title Delimit and Characterize Color Phenotype of the Pearl Oyster Version 0.1.7 Date 2017-05-29 Author Pierre-Louis Stenger <Pierre.Louis.Stenger@ifremer.fr> Maintainer Pierre-Louis Stenger <Pierre.Louis.Stenger@ifremer.fr> The pearl oyster, Pinctada margaritifera (Linnaeus, 1758), represents the second economic resource of French Polynesia. It is one of the only bivalves expressing a large varied range of inner shell color, & by correlation, of pearl color. This phenotypic variability is partly under genetic control, but also under environmental influence. With ImaginR, it's now possible to delimit the color phenotype of the pearl oyster's inner shell and to characterize their color variations (by the HSV color code system) with pictures. Depends imager Imports grdevices, jpeg License GPL (>= 2) BugReports https://github.com/plstenger/imaginr/issues Encoding UTF-8 LazyData true RoxygenNote 6.0.1 NeedsCompilation no Repository CRAN Date/Publication 2017-05-31 06:23:29 UTC R topics documented: ColorPhenotype....................................... 2 hex2rgb........................................... 2 OneRow........................................... 3 OutPutResult........................................ 4 PictureResults........................................ 5 print.myclass........................................ 5 1

2 hex2rgb Index 7 ColorPhenotype Give the color phenotype of the pearl oyster s Returns the color phenotype of the pearl oyster s inner shell (Pinctada margaritifera) ColorPhenotype(picture) picture The picture uploaded by load.image() The color phenotype of the pearl oyster s inner shell fpath <- system.file('extdata/image.jpg',package='imaginr') picture <- load.image(fpath) ColorPhenotype(picture) hex2rgb Give RGB color code from HEX color code Give a RGB color code matrix from HEX color code vector. hex2rgb(color.vector) color.vector HEX code in a vector RGB code color

OneRow 3 # RGB color code of "Alice Blue" color: hex2rgb("#f0f8ff") # RGB color code of "Red" color: hex2rgb("#ff0000") # RGB color code of "Green" color: hex2rgb("#008000") OneRow Get phenotype, HEX and HSV color code for one picture Get results in one row OneRow(picture) picture The picture uploaded by load.image() Details In header: id : the name of your pictures h : the hue of the hsv color code s : the saturation of the hsv color code v : the value of the hsv color code hex : the hexadecimal color code phenotype : returns the color phenotype of the pearl oyster s inner shell (Pinctada margaritifera) The HEX and HSV color code and the color phenotype of the pearl oyster s inner shell for one image in one row fpath <- system.file('extdata/image.jpg',package='imaginr') picture <- load.image(fpath) OneRow(picture)

4 OutPutResult OutPutResult Get phenotype, HEX and HSV color code for all pictures Get results in a.txt file,.csv file and in R data.frame This function does what all the others functions do in a very simple way. Just put your images in your working directory (don t forget to getwd()!), do library this package and paste this only code: "OutPutResult()". You will get the results into your consol and in a results.csv file in your working directory. OutPutResult(id) id The name of the pictures in your working directory Details In results.csv: id : the name of your pictures h : the hue of the hsv color code s : the saturation of the hsv color code v : the value of the hsv color code hex : the hexadecimal color code phenotype : returns the color phenotype of the pearl oyster s inner shell (Pinctada margaritifera) The HEX and HSV color code and the color phenotype of the pearl oyster s inner shell for all images in a results.csv file

PictureResults 5 PictureResults Give HEX and HSV color code To get the mean of the HEX color code and the HSV color code of the picture PictureResults(picture) picture The picture uploaded by load.image() Details h : the hue of the hsv color code s : the saturation of the hsv color code v : the value of the hsv color code hex : the hexadecimal color code results the HEX and HSV color code fpath <- system.file('extdata/image.jpg',package='imaginr') picture <- load.image(fpath) PictureResults(picture) print.myclass Usefull for others functions Function to print the results (usefull for the others functions) ## S3 method for class 'myclass' print(x,...)

6 print.myclass x the results... if necessary the header of the results

Index ColorPhenotype, 2 hex2rgb, 2 OneRow, 3 OutPutResult, 4 PictureResults, 5 print.myclass, 5 7