Learn R Programming

ImaginR (version 0.1.7)

OutPutResult: Get phenotype, HEX and HSV color code for all pictures

Description

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.

Usage

OutPutResult(id)

Arguments

id

The name of the pictures in your working directory

Value

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

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)