image_information {bwimage} | R Documentation |
Summary of image information
Description
Provide the information of: number of black, white and transparent pixels, total number of pixels, height and width size.
Usage
image_information(imagematrix)
Arguments
imagematrix |
The matrix to be analysed. |
Value
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 |
Author(s)
Carlos Biagolini-Jr.
See Also
threshold_color
Examples
# 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)
[Package bwimage version 1.3 Index]