Image

struct defined in module DataAugmentation


			Image(image[, bounds])

Item representing an N-dimensional image with element type T.

Examples


			
			
			
			using
			
			 

	
			DataAugmentation
			,
			
			 
			Images
			

			

			
			imagedata
			 
			=
			 
			
			rand
			(
			RGB
			,
			 
			100
			,
			 
			100
			)
			

			
			item
			 
			=
			 
			

			Image
			(
			imagedata
			)
			

			

	
			showitems
			(
			item
			)

If T is not a color, the image will be interpreted as grayscale:


			
			
			
			imagedata
			 
			=
			 
			
			rand
			(
			Float32
			,
			 
			100
			,
			 
			100
			)
			

			
			item
			 
			=
			 
			

			Image
			(
			imagedata
			)
			

			

	
			showitems
			(
			item
			)