IT. Expert System.

Android Reference

ScriptIntrinsicColorMatrix


android.renderscript

Class ScriptIntrinsicColorMatrix

    • Method Detail

      • setColorMatrix

        public void setColorMatrix(Matrix4f m)
        Set the color matrix which will be applied to each cell of the image.
        Parameters:
        m - The 4x4 matrix to set.
      • setColorMatrix

        public void setColorMatrix(Matrix3f m)
        Set the color matrix which will be applied to each cell of the image. This will set the alpha channel to be a copy.
        Parameters:
        m - The 3x3 matrix to set.
      • setGreyscale

        public void setGreyscale()
        Set a color matrix to convert from RGB to luminance. The alpha channel will be a copy.
      • setYUVtoRGB

        public void setYUVtoRGB()
        Set the matrix to convert from YUV to RGB with a direct copy of the 4th channel.
      • setRGBtoYUV

        public void setRGBtoYUV()
        Set the matrix to convert from RGB to YUV with a direct copy of the 4th channel.
      • forEach

        public void forEach(Allocation ain,
                   Allocation aout)
        Invoke the kernel and apply the matrix to each cell of ain and copy to aout.
        Parameters:
        ain - Input allocation
        aout - Output allocation
      • getKernelID

        public Script.KernelID getKernelID()
        Get a KernelID for this intrinsic kernel.
        Returns:
        Script.KernelID The KernelID object.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 322 / 158856236. Delta: 0.04642 с