Image to matrix
- operators.image.image_to_matrix(client, input_file='image.tif', output_file='matrix.npy', instance_type='x2large')
- Convert an image to a matrix.
- image_to_matrix( client,input_file=’image.tif’,output_file=’matrix.npy’,instance_type=’x2large’ )
- Parameters:
input_file – Input image file
output_file – Output matrix file (either .npy or .txt)
instance_type – type of cloud instance used for processing