Class operatorBinary

java.lang.Object
  |
  +--operator
        |
        +--operatorBinary

public abstract class operatorBinary
extends operator

All operators that work on Binary Fast images extend this class, contains functionality specific for working with Binary Fast images.


Fields inherited from class operator
box, name, panel, parameters, type
 
Constructor Summary
operatorBinary()
           
 
Method Summary
 BinaryFast getOutput1()
          Returns output1.
 BinaryFast getOutput2()
          Returns output2.
 void link1To1(operator linkOp)
          Links this operator and another operator by setting the other operator's input1 to the same image as this operator's output1 (converting the image to the correct representation if required).
 void link1To2(operator linkOp)
          Links this operator and another operator by setting the other operator's input2 to the same image as this operator's output1 (converting the image to the correct representation if required).
 void link2To1(operator linkOp)
          Links this operator and another operator by setting the other operator's input1 to the same image as this operator's output2 (converting the image to the correct representation if required).
 void link2To2(operator linkOp)
          Links this operator and another operator by setting the other operator's input2 to the same image as this operator's output2 (converting the image to the correct representation if required).
 void setInput1(image x)
          Sets input1 to a BinaryFast image, obtained by converting image x.
 void setInput2(image x)
          Sets input2 to a BinaryFast image, obtained by converting image x.
 
Methods inherited from class operator
getBox, getName, getParameters, getType, go, loadParameters, propagate, propagateSingleLink, saveOperator, saveParameters, setBox, setName, setType, showParameters, updateParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

operatorBinary

public operatorBinary()
Method Detail

getOutput1

public BinaryFast getOutput1()
Returns output1.
Returns:
output1 of this operator

getOutput2

public BinaryFast getOutput2()
Returns output2.
Returns:
output2 of this operator

setInput1

public void setInput1(image x)
Sets input1 to a BinaryFast image, obtained by converting image x.
Parameters:
x - the image x to be converted and used as input1
Overrides:
setInput1 in class operator

setInput2

public void setInput2(image x)
Sets input2 to a BinaryFast image, obtained by converting image x.
Parameters:
x - the image x to be converted and used as input2
Overrides:
setInput2 in class operator

link1To1

public void link1To1(operator linkOp)
Links this operator and another operator by setting the other operator's input1 to the same image as this operator's output1 (converting the image to the correct representation if required).
Parameters:
linkOp - the operator to be linked to
Overrides:
link1To1 in class operator

link1To2

public void link1To2(operator linkOp)
Links this operator and another operator by setting the other operator's input2 to the same image as this operator's output1 (converting the image to the correct representation if required).
Parameters:
linkOp - the operator to be linked to
Overrides:
link1To2 in class operator

link2To1

public void link2To1(operator linkOp)
Links this operator and another operator by setting the other operator's input1 to the same image as this operator's output2 (converting the image to the correct representation if required).
Parameters:
linkOp - the operator to be linked to
Overrides:
link2To1 in class operator

link2To2

public void link2To2(operator linkOp)
Links this operator and another operator by setting the other operator's input2 to the same image as this operator's output2 (converting the image to the correct representation if required).
Parameters:
linkOp - the operator to be linked to
Overrides:
link2To2 in class operator