Image Action Set
Summarize an Image Table
This example is not available for the CAS programming language.
Summarize an Image Table
This example is not available for the Lua programming language.
Summarize an Image Table
This section contains Python code. For more information about coding in Python, see Getting Started with SAS Viya for Python and SAS Viya: System Programming Guide.
The following Python code uses the summarizeImages action to summarize the images in the imgs table. The resulting summary reports the distribution of image types, and the minimum, maximum, and average width and height values of the images in the imgs table. Minimum, maximum, and average pixel intensity values for each channel are also reported. An example of the output is illustrated in Figure 73. This code assumes that the imgs table is loaded in advance.
s.image.summarizeImages(
table='imgs'
)
Figure 73: Summary of an Image Table

Summarize an Image Table
This example is not available for the R programming language.