How do extract GLRLM features from a single .jpg image

Operating system: Windows
Slicer version:
Expected behavior:
Actual behavior:
I am a learner and want to generate Gray Level Run Length Matrix features for a .jpg image. I am reading an image via opencv but could not understand about ‘mask’ input. Thus, can anybody help me by providing any sample code in python which can extract features using PyRadiomics.

The PyRadiomics repository on github contains several example scripts detailing the usage of PyRadiomics. Additionally, you can find many details in the extensive online documentation at pyradiomics.readthedocs.io