PREV CLASS NEXT CLASS |
||
java.lang.Object
VisualSim.kernel.util.NamedObj
VisualSim.kernel.InstantiableNamedObj
VisualSim.kernel.Entity
VisualSim.kernel.ComponentEntity
VisualSim.actor.AtomicActor
VisualSim.actor.TypedAtomicActor
VisualSim.actor.lib.video.SumofAbsoluteDifferences
public class SumofAbsoluteDifferencesextends VisualSim.actor.TypedAtomicActor
Calculate the sum of absolute difference(SAD) between two blocks. Each input block should have two dimensions by rectangle block(16 by 16, 8 by 8, etc.). The output port will have the result of SAD.
Nested classes/interfaces inherited from class VisualSim.kernel.Entity |
VisualSim.kernel.Entity.ContainedObjectsIterator |
Field Summary |
|
protected int |
_blockSize |
VisualSim.data.expr.Parameter |
blockSize |
VisualSim.actor.TypedIOPort |
currentImageBlock |
VisualSim.actor.TypedIOPort |
previousImageBlock |
VisualSim.actor.TypedIOPort |
sumAbsoluteDifference |
Fields inherited from class VisualSim.actor.AtomicActor |
_stopRequested, Block_Documentation |
Fields inherited from class VisualSim.kernel.util.NamedObj |
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS |
Fields inherited from interface VisualSim.actor.Executable |
COMPLETED, NOT_READY, STOP_ITERATING |
Constructor Summary |
|
SumofAbsoluteDifferences(VisualSim.kernel.CompositeEntity container, java.lang.String name) |
Method Summary |
|
java.lang.Object |
clone(VisualSim.kernel.util.Workspace workspace) |
void |
fire() |
void |
Methods inherited from class VisualSim.actor.TypedAtomicActor |
_addPort, attributeTypeChanged, clone, newPort, typeConstraintList |
Methods inherited from class VisualSim.actor.AtomicActor |
_createReceivers, connectionsChanged, getDirector, getExecutiveDirector, getFunctionDependency, getManager, initialize, inputPortList, isFireFunctional, isStrict, iterate, newReceiver, outputPortList, postfire, prefire, pruneDependencies, removeDependency, setContainer, stop, stopFire, terminate, wrapup |
Methods inherited from class VisualSim.kernel.ComponentEntity |
_adjustDeferrals, _checkContainer, _getContainedObject, _propagateExistence, getContainer, instantiate, isAtomic, isOpaque, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, propagateExistence, setName |
Methods inherited from class VisualSim.kernel.Entity |
_description, _exportMoMLContents, _removePort, _validateSettables, connectedPortList, connectedPorts, containedObjectsIterator, getAttribute, getPort, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts, setClassDefinition, uniqueName |
Methods inherited from class VisualSim.kernel.InstantiableNamedObj |
_setParent, exportMoML, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition |
Methods inherited from class VisualSim.kernel.util.NamedObj |
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _debug, _debug, _debug, _debug, _debug, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, addChangeListener, addDebugListener, attributeChanged, attributeList, attributeList, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttributes, getChangeListeners, getClassName, getDerivedLevel, getDerivedList, getDisplayName, getFullName, getModelErrorHandler, getName, getName, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, message, propagateValue, propagateValues, removeChangeListener, removeDebugListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, validateSettables, workspace |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface VisualSim.actor.Actor |
getDirector, getExecutiveDirector, getFunctionDependency, getManager, inputPortList, newReceiver, outputPortList |
Methods inherited from interface VisualSim.actor.Executable |
initialize, isFireFunctional, isStrict, iterate, postfire, prefire, stop, stopFire, terminate, wrapup |
Methods inherited from interface VisualSim.kernel.util.Nameable |
description, getContainer, getDisplayName, getFullName, getName, getName, setName |
Methods inherited from interface VisualSim.kernel.util.Derivable |
getDerivedLevel, getDerivedList, propagateValue |
public VisualSim.actor.TypedIOPort previousImageBlock
public VisualSim.actor.TypedIOPort currentImageBlock
public VisualSim.actor.TypedIOPort sumAbsoluteDifference
public VisualSim.data.expr.Parameter blockSize
protected int _blockSize
public SumofAbsoluteDifferences(VisualSim.kernel.CompositeEntity container,
java.lang.String name)
throws VisualSim.kernel.util.IllegalActionException,
VisualSim.kernel.util.NameDuplicationException
public java.lang.Object clone(VisualSim.kernel.util.Workspace workspace)
throws java.lang.CloneNotSupportedException
public void fire()
throws VisualSim.kernel.util.IllegalActionException
public void preinitialize()
throws VisualSim.kernel.util.IllegalActionException
PREV CLASS NEXT CLASS |
||
Created with the Personal Edition of HelpNDoc: Create help files for the Qt Help Framework