ImgArray.constructor

Declaration

constructor({height=256, width=256,channel=3,lazy=false,dtype='float32'}={})

Function Description

contruction function of ImgArray, create an ImgArray object,with parameters height, width, channel, lazy and dtype.

Parameter Description

Demons

Demo1

create a ImgArray and show it as matrix.

Code


    

Result

Demo2

create a ImgArray and show it as Image.

Code


    

Result