JIGL
v1.6

jigl.signal.ops.morph
Class Close

java.lang.Object
  |
  +--jigl.signal.SimpleOperator
        |
        +--jigl.signal.ops.morph.Close
All Implemented Interfaces:
Operator

public class Close
extends SimpleOperator

Close performs a close operation on a signal. Supports BinarySignal.

Provides command option.


Field Summary
private  int center_x
          center position
private  SignalKernel kernel
          morph kernel
 
Constructor Summary
Close(SignalKernel ker, int x)
          Initilizes Close object from a SignalKernel object and a center position.
 
Method Summary
protected  Signal apply(BinarySignal signal)
          Closes a BinarySignal.
protected  Signal apply(BinarySignal signal, ROI roi)
          Closes a BinarySignal in a region of interest.
static void main(String[] argv)
          For command option.
 
Methods inherited from class jigl.signal.SimpleOperator
apply, apply, apply, apply, apply, apply, apply, apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kernel

private SignalKernel kernel
morph kernel


center_x

private int center_x
center position

Constructor Detail

Close

public Close(SignalKernel ker,
             int x)
Initilizes Close object from a SignalKernel object and a center position.

Parameters:
ker - SignalKernel
x - center x value
Method Detail

apply

protected Signal apply(BinarySignal signal)
Closes a BinarySignal. Returned signal is a BinarySignal (signal is not modified).

Overrides:
apply in class SimpleOperator
Parameters:
signal - BinarySignal
Returns:
BinarySignal

apply

protected Signal apply(BinarySignal signal,
                       ROI roi)
Closes a BinarySignal in a region of interest. Returned signal is a BinarySignal (signal is not modified).

Overrides:
apply in class SimpleOperator
Parameters:
signal - BinarySignal
roi - Region of interest of signal
Returns:
BinarySignal

main

public static void main(String[] argv)
For command option. The syntax is "java Close input_filename kernel_filename center_x output_filename"


JIGL
v1.6

Submit a bug or feature
Revised in May 2002 by Weiming Liu