A junction channel. More...
#include <Channels/JunctionChannel.H>
Public Member Functions | |
JunctionChannel (OptionManager &mgr, nub::soft_ref< OrientationChannel > oc, const VisualFeature vs=UNKNOWN, const int R0=0, const int R1=0, const int R2=0, const int R3=0, const int R4=0, const int R5=0, const int R6=0, const int R7=0) | |
virtual | ~JunctionChannel () |
Destructor. | |
Protected Member Functions | |
virtual void | doInput (const InputFrame &inframe) |
Computes the corners from the gabor channels accessed via the. | |
Protected Attributes | |
OModelParam< bool > | itsFull |
OModelParam< uint > | itsDelta |
dx and dy value to pass to junctionFilterFull() or junctionFilterPartial() | |
nub::soft_ref< OrientationChannel > | itsOriChan |
keep track of our OrientationChannel |
A junction channel.
Definition at line 48 of file JunctionChannel.H.
JunctionChannel::JunctionChannel | ( | OptionManager & | mgr, | |
nub::soft_ref< OrientationChannel > | oc, | |||
const VisualFeature | vs = UNKNOWN , |
|||
const int | R0 = 0 , |
|||
const int | R1 = 0 , |
|||
const int | R2 = 0 , |
|||
const int | R3 = 0 , |
|||
const int | R4 = 0 , |
|||
const int | R5 = 0 , |
|||
const int | R6 = 0 , |
|||
const int | R7 = 0 | |||
) |
Construct with the manager, visual cortex, visual feature and relevance of the different oriented features (0 => 0 deg., 1 => 45 deg, ... , 7 => 315 deg., and whether we want a full or partial implementation of the junction
Definition at line 54 of file JunctionChannel.C.
References ModelComponent::setDescriptiveName(), ModelComponent::setTagName(), NModelParam< T >::setVal(), and sformat().
JunctionChannel::~JunctionChannel | ( | ) | [virtual] |
Destructor.
Definition at line 88 of file JunctionChannel.C.
void JunctionChannel::doInput | ( | const InputFrame & | inframe | ) | [protected, virtual] |
Computes the corners from the gabor channels accessed via the.
Reimplemented from SingleChannel.
Definition at line 94 of file JunctionChannel.C.
References ASSERT, nub::soft_ref< T >::get(), OModelParam< T >::getVal(), itsDelta, itsFull, itsOriChan, junctionFilterFull(), junctionFilterPartial(), SingleChannel::killCaches(), SingleChannel::pyramid(), R, SingleChannel::setClipPyramid(), ImageSet< T >::size(), and SingleChannel::storePyramid().
OModelParam<uint> JunctionChannel::itsDelta [protected] |
dx and dy value to pass to junctionFilterFull() or junctionFilterPartial()
Definition at line 76 of file JunctionChannel.H.
Referenced by doInput().
OModelParam<bool> JunctionChannel::itsFull [protected] |
do we want a slow, full implementation of this junction which checks for both the presence of relevant features and the absence of irrelevant features; or a quick, partial implementation which checks only for the presence of the relevant features.
Definition at line 73 of file JunctionChannel.H.
Referenced by doInput().
nub::soft_ref<OrientationChannel> JunctionChannel::itsOriChan [protected] |
keep track of our OrientationChannel
Definition at line 79 of file JunctionChannel.H.
Referenced by doInput().