dlpy.images.ImageTable.load_files¶
-
classmethod
ImageTable.
load_files
(conn, path, casout=None, columns=None, caslib=None, **kwargs)¶ Create ImageTable from files in path
Parameters: - conn : CAS
The CAS connection object
- path : string
The path to the image directory on the server. Path may be absolute, or relative to caslib root if specified.
- casout : dict, optional
The output table specifications
- columns : list of str, optional
Specifies the extra columns in the image table.
- caslib : string, optional
The name of the caslib containing the images.
- kwargs : keyword arguments, optional
Additional keyword arguments to the image.loadimages action. For details, see the loadimages action
Returns: Examples
from swat import CAS from dlpy.images import ImageTable s=CAS(“cloud.example.com”, 5570) img_tbl=ImageTable.load_files(s, “/path/to/images”, caslib=”CASUSER(user)”) img_tbl.show()