cvpy.image.NaturalImageTable.NaturalImageTable.mask_image

NaturalImageTable.mask_image(mask: ImageTable, decode: bool = False, add_columns: List[str] | None = None, copy_vars: List[str] | None = None, output_table_parms: Dict[str, str] | None = None)

Applies masking to an ImageTable.

Parameters:
maskcvpy.ImageTable

Specifies the image table that will be used for masking.

decodebool

Specifies whether to decode the output image table.

add_columns:class:’List(str)’

Specifies extra columns to add to the output table.

copy_varsList(str)

Specifies which columns to copy to the output image table.

output_table_parmsDict[str,str]

Specifies the parameters in the output image table.

Returns
————
cvpy.image.NaturalImageTable