GrayscaleImage

<auto-generated stub>

Static methods

def apply(x: Rep[DenseMatrix[Double]]): Rep[GrayscaleImage]

Infix methods

def convolve(kernel: Rep[DenseMatrix[Double]]): Rep[GrayscaleImage]

def data(): Rep[DenseMatrix[Double]]

def downsample(rowFactor: Rep[Int], colFactor: Rep[Int])(sample: (Rep[GrayscaleImage]) => Rep[Double]): Rep[GrayscaleImage]

def histogram(): Rep[DenseVector[Int]]

def numCols(): Rep[Int]

def numRows(): Rep[Int]

def windowedFilter(rowDim: Rep[Int], colDim: Rep[Int])(block: (Rep[GrayscaleImage]) => Rep[Double]): Rep[GrayscaleImage]