jipfunc
Class FAddSegment
java.lang.Object
|
+--jip.JIPFunction
|
+--jipfunc.FAddSegment
- public class FAddSegment
- extends JIPFunction
FAddSegment: Añade un segmento a una imagen tipo segmento
DESCRIPCION: Añade un segmento, cuyas coordenadas pasamos por
parámetros, a una imágen de tipo SEGMENT.
Aplicable a tipos: SEGMENTO
Parametros de Entrada:
- img: Imagen de Entrada
- X Origen: Coordenada X del Origen
- Y Origen: Coordenada Y del Origen
- X Destino: Coordenada X del Destino
- Y Destino: Coordenada Y del Destino
Parametros de Salida:
- Imagen de Tipo Segmento (la misma que de entrada) con un
nuevo segmento cuyas coordenadas corresponden a los parámetros
de entrada
Constructor Summary |
FAddSegment()
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 añadir un nuevo segmento a la imágen
de entrada.
|
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 |
FAddSegment
public FAddSegment()
Constructor de la Clase.
Obtiene los parámetros de entrada para aplicar la función.
Parametros de Entrada:
- NINGUNO
Parametros de Salida:
- NINGUNO
processImg
public JIPImage processImg(JIPImage img)
Método Principal
Se le llama para añadir un nuevo segmento a la imágen
de entrada.
Parametros de Entrada:
- img: Imagen a procesar
Parametros de Salida:
- Imagen con nuevo segmento añadido.
- Overrides:
processImg
in class JIPFunction
- Following copied from class:
jip.JIPFunction
- Parameters:
img
- Imagen de entrada.- Returns:
- Imagen de salida.