Image to matrix folder
- operators.image.image_to_matrix_folder(client, input_folder='/input_folder', output_folder='/output_folder', worker_instance_type='x2large', manager_instance_type='small', extension_input_file='.tif', extension_output_file='.npy', skip_existing_files=False)
- Convert an image to a matrix.
- image_to_matrix_folder(client,input_folder=’/input_folder’,output_folder=’/output_folder’,worker_instance_type=’x2large’,manager_instance_type=”small”,extension_input_folder=”.tif”,extension_output_folder=”.npy”,skip_existing_files = False )
- Parameters:
input_folder – Input image folder
output_folder – Output matrix folder (either .npy or .txt)
worker_instance_type – cloud instance type of worker nodes
manager_instance_type – cloud instance type of manager node
extension_input_folder – File extension of files in folder for input_folder
extension_output_folder – File extension of files in folder for output_folder
skip_existing_files – skip files that already exist in the output folder