The Machine Perception Toolbox

[Introduction]- [News]- [Download]- [Screenshots]- [Manual (pdf)]- [Forums]- [API Reference]- [Repository ]

 

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

drawBox.m File Reference

Go to the source code of this file.

Functions

 boxed (tr:br, rc, 3)
 boxed (tr:br, lc, 3)
 boxed (br, lc:rc, 3)
 boxed (tr, lc:rc, 3)
 boxed (tr:br, rc, 2)
 boxed (tr:br, lc, 2)
 boxed (br, lc:rc, 2)
case FAheur boxed (tr, lc:rc, 2)
 boxed (tr:br, rc, 1)
 boxed (tr:br, lc, 1)
 boxed (br, lc:rc, 1)
case FA boxed (tr, lc:rc, 1)
 boxed (tr:br, rc,:)
 boxed (tr:br, lc,:)
 boxed (br, lc:rc,:)
 boxed (tr, lc:rc,:)
 boxed (tr:br, rc-2,:)
 boxed (tr:br, lc+2,:)
 boxed (br-2, lc:rc,:)
switch boxType case hit boxed (tr+2, lc:rc,:)
 boxed (:,:, 3)
 boxed (:,:, 2)
 boxed (:,:, 1)
if max (max(max(boxed))) > 1
end if ndims (boxed)< 3 img

Variables

function boxed
 br = br-offset*s
 end [rows, cols, nd] = size(boxed)
 lc = lc+offset*s
if maxColor = 255
 rc = rc-offset*s
end s = round(max([br-tr,rc-lc])/24)
 tr = tr+offset*s


Function Documentation

boxed tr:br  ,
rc  ,
 

boxed tr:br  ,
lc  ,
 

boxed br  ,
lc:rc  ,
 

boxed tr  ,
lc:rc  ,
 

boxed tr:br  ,
rc  ,
 

boxed tr:br  ,
lc  ,
 

boxed br  ,
lc:rc  ,
 

case FAheur boxed tr  ,
lc:rc  ,
 

boxed tr:br  ,
rc  ,
 

boxed tr:br  ,
lc  ,
 

boxed br  ,
lc:rc  ,
 

case FA boxed tr  ,
lc:rc  ,
 

boxed tr:br  ,
rc  ,
 

boxed tr:br  ,
lc  ,
 

boxed br  ,
lc:rc  ,
 

boxed tr  ,
lc:rc  ,
 

boxed tr:br  ,
rc 2,
 

boxed tr:br  ,
lc 2,
 

boxed br 2,
lc:rc  ,
 

switch boxType case hit boxed tr 2,
lc:rc  ,
 

boxed ,
,
 

boxed ,
,
 

boxed ,
,
 

if max max(max(boxed))   ) 
 

end if ndims boxed   ) 
 


Variable Documentation

boxed
 

Initial value:

 drawBox(boxed, tr, br, lc, rc, boxType, offset)
% Draw an individual box into an image.  Input the image the edges of the
% box and the type of box (color).  Options for boxType are 
%   'hit'    -- black and white box
%   'FA'     -- red box (I use them for false alarms)
%   'FAheur' -- green box (I use them to show suppressed boxes) 
%   
  if nargin == 6
    offset = 0

br = br-offset*s
 

Definition at line 33 of file drawBox.m.

Referenced by reg().

end[rows, cols, nd] = size(boxed)
 

Definition at line 31 of file drawBox.m.

Referenced by MPHistogramHue::add_uniform(), MPHistogram< float, NUMBINS >::add_uniform(), histogram_hue::add_uniform(), histogram3d::add_uniform(), builtin_normalize_path(), Array::initialize(), Array::RefArray< 1 >::initialize(), Array::RefArray::initialize(), MPHistogramHue::load_from_file(), MPHistogram< float, NUMBINS >::load_from_file(), histogram_hue::load_from_file(), histogram3d::load_from_file(), MPHistogramHue::normalize(), MPHistogram< float, NUMBINS >::normalize(), histogram_hue::normalize(), histogram3d::normalize(), path_parse(), MPHistogramHue::print_values(), MPHistogram< float, NUMBINS >::print_values(), histogram_hue::print_values(), histogram3d::print_values(), string_append(), string_append_range(), MPHistogramHue::sum(), MPHistogram< float, NUMBINS >::sum(), histogram_hue::sum(), histogram3d::sum(), MPHistogramHue::update_hist(), MPHistogram< float, NUMBINS >::update_hist(), MPISearchThread::UpdateColorModel(), var_expand(), MPHistogramHue::weighted_add(), MPHistogram< float, NUMBINS >::weighted_add(), histogram_hue::weighted_add(), and histogram3d::weighted_add().

lc = lc+offset*s
 

Definition at line 34 of file drawBox.m.

else maxColor = 255
 

Definition at line 21 of file drawBox.m.

rc = rc-offset*s
 

Definition at line 35 of file drawBox.m.

end s = round(max([br-tr,rc-lc])/24)
 

Definition at line 12 of file drawBox.m.

Referenced by bind_explicitly_located_target(), bindmodule(), cmd_new(), compile_eval(), compile_foreach(), compile_list(), compile_local(), copy_string(), debug_compile(), difftv(), downcase_list(), ROISequence::getnext(), glob(), globchars(), import_module(), MPISearchStream::init(), ScalePyramid::initPyramid(), is_type_name(), lcmp(), list_sort(), main(), make0(), make0sort(), make1c(), new_module_str(), newstr(), histogram_hue::normalize(), histogram3d::normalize(), operator<<(), cvHistWrapper::process(), MPConfiguration::record(), regerror(), regexec(), MPConfiguration::remove_headwhite(), MPConfiguration::remove_tailwhite(), MPISearchStream::reset(), histogram_hue::rgb2bin(), MPColorTools::RGBtoHSV(), CenterSurround::search(), ScalePyramid::set_numhyp(), UniformWindow::set_scalebounds(), string_copy(), string_free(), string_new(), string_unit_test(), MPHistogramHue::sum(), MPHistogram< float, NUMBINS >::sum(), histogram_hue::sum(), histogram3d::sum(), tokenize_string(), UniformWindow::UniformWindow(), var_expand(), MPSocketIO::write(), and MPFileIO::write().

tr = tr+offset*s
 

Definition at line 32 of file drawBox.m.


Generated on Mon Nov 8 17:07:58 2004 for MPT by  doxygen 1.3.9.1