jipfunc
Class FColorToGray

java.lang.Object
  |
  +--jip.JIPFunction
        |
        +--jipfunc.FColorToGray

public class FColorToGray
extends JIPFunction

FColorToGray: Convierte una imagen de tipo COLOR a escala de grises
DESCRIPCION: Convierte una imagen de tipo COLOR, a una imagen de tipo BIT, BYTE, WORD o REAL
Aplicable a tipos: COLOR


Fields inherited from class jip.JIPFunction
description, name, params, results
 
Constructor Summary
FColorToGray()
           Constructor de la Clase.
Obtiene los parámetros de entrada para aplicar la función.
 
Method Summary
 JIPImage processImg(JIPImage img)
           Método Principal
Se le llama para cambiar el tipo de la imagen de entrada, desde COLOR a escala de grises.
 
Methods inherited from class jip.JIPFunction
getDescription, getName, getNumParams, getNumResults, getParamDescr, getParamNames, getParamType, getParamValueBool, getParamValueImg, getParamValueInt, getParamValueReal, getParamValueStr, getResultDescr, getResultNames, getResultType, getResultValueBool, getResultValueImg, getResultValueInt, getResultValueReal, getResultValueStr, isParam, isParamAsigned, isParamRequired, isResult, isResultAsigned, isResultRequired, paramsOK, processSeq, setParamValue, setParamValue, setParamValue, setParamValue, setParamValue, setResultValue, setResultValue, setResultValue, setResultValue, setResultValue
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

FColorToGray

public FColorToGray()

Constructor de la Clase.

Obtiene los parámetros de entrada para aplicar la función.

    Parametros de Entrada:
  • NINGUNO

    Parametros de Salida:
  • NINGUNO

Method Detail

processImg

public JIPImage processImg(JIPImage img)

Método Principal

Se le llama para cambiar el tipo de la imagen de entrada, desde COLOR a escala de grises.

    Parametros de Entrada:
  • img: Imagen a procesar

    Parametros de Salida:
  • Imagen del tipo especificado por el usuario equivalente a la imagen de entrada de tipo COLOR

Overrides:
processImg in class JIPFunction
Following copied from class: jip.JIPFunction
Parameters:
img - Imagen de entrada.
Returns:
Imagen de salida.