Description Usage Arguments Value Author(s) See Also Examples
View source: R/ImageAnalysis.R
Provide the information of: number of black, white and transparent pixels, total number of pixels, height and width size.
1 | image_information(imagematrix)
|
imagematrix |
The matrix to be analysed. |
Black |
Number of black pixels |
White |
Number of white pixels |
Transparent |
Number of transparent pixels |
Total |
Total number of pixels |
Height |
Size in height |
Width |
Size in width |
Carlos Biagolini-Jr.
threshold_color
1 2 3 4 | # First, get a matrix from your image. Here an example of a bush image is used.
bush<-system.file("extdata/bush.JPG",package ="bwimage")
bush_imagematrix<-threshold_color(bush, "jpeg", "proportional",compress_rate = 0.1)
image_information(bush_imagematrix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.