jipfunc
Class FRandomSegment
java.lang.Object
|
+--jip.JIPFunction
|
+--jipfunc.FRandomSegment
- public class FRandomSegment
- extends JIPFunction
FRandomSegment: Introduce Segmentos Aleatorios.
DESCRIPCION: Introduce un número de segmentos aleatorios en la
imagen, especificado por el usuario. La imagen debe ser de
tipo Segmento.
Aplicable a tipos: SEGMENT
Parametros de Entrada:
- img: Imagen de Entrada
- numero: Número de segmentos a introducir
Parametros de Salida:
- Imagen de entrada con los nuevos segmentos añadidos.
Constructor Summary |
FRandomSegment()
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 llama a este método para introducir segmentos aleatorios
en la imagen de entrada (que es de tipo Segmento).
Parametros de Entrada:
img: Imagen a procesar
Parametros de Salida:
Imagen de entrada con los nuevos segmentos añadidos.
|
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 |
FRandomSegment
public FRandomSegment()
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 llama a este método para introducir segmentos aleatorios
en la imagen de entrada (que es de tipo Segmento).
Parametros de Entrada:
- img: Imagen a procesar
Parametros de Salida:
- Imagen de entrada con los nuevos segmentos añadidos.
- Overrides:
processImg
in class JIPFunction
- Following copied from class:
jip.JIPFunction
- Parameters:
img
- Imagen de entrada.- Returns:
- Imagen de salida.