Be the first to rate this file! 124 downloads (last 30 days) File Size: 258.16 KB File ID: #24659

CONFIGR (CONtour FIgure and GRound)

by Massimiliano Versace

 

07 Jul 2009 (Updated 22 Jul 2009)

Code covered by BSD License  

CONFIGR (CONtour FIgure and GRound) is a model that performs long-range contour completion.

Download Now | Watch this File

File Information
Description

This software has been realized at the CNS Technology Lab at Boston University - http://techlab.bu.edu. The main author of this software is Chaitanya Sai ( http://techlab.bu.edu/members/sai/ ).

CONFIGR (CONtour FIgure GRound) is a computational model based on principles of biological vision that completes sparse and noisy image figures. Within an integrated vision/recognition system, CONFIGR posits an initial recognition stage which identifies figure pixels from spatially local input information. The resulting, and typically incomplete, figure is fed back to the ?early vision? stage for long-range completion via filling-in. The reconstructed image is then re-presented to the recognition system for global functions such as object recognition. In the CONFIGR algorithm, the smallest independent image unit is the visible pixel, whose size defines a computational spatial scale. Once the pixel size is fixed, the entire algorithm is fully determined, with no additional parameter choices. Multi-scale simulations illustrate the vision/recognition system. Open-source CONFIGR code is available online, but all examples can be derived analytically, and the design principles applied at each step are transparent. The model balances filling-in as figure against complementary filling-in as ground, which blocks spurious figure completions. Lobe computations occur on a subpixel spatial scale. Originally designed to fill-in missing contours in an incomplete image such as a dashed line, the same CONFIGR system connects and segments sparse dots, and unifies occluded objects from pieces locally identified as figure in the initial recognition stage. The model self-scales its completion distances, filling-in across gaps of any length, where unimpeded, while limiting connections among dense image-figure pixel groups that already have intrinsic form. Long-range image completion promises to play an important role in adaptive processors that reconstruct images from highly compressed video and still camera images.

Code Description

MATLAB 7.0 or higher. Usage: I_output = runCONFIGR(I,PixRes) This runs CONFIGR with the following defaults: PixRes: pixel resolution default=1: CONFIGR pixel resolution is the same as that of the input image Advanced Options: I_output = runCONFIGR(I,PixRes,NumIter,ShrinkFact) I: input image PixRes: pixel resolution 1: fine 2: medium 3: coarse The following options provide computational flexibility but are not model parameters. NumIter: number of iterations CONFIGR simulation can be forced to stop early by setting a low number of iterations. ShrinkFact: ratio of desired image size to actual size Sparse images can be resized for faster runtimes. Raw CONFIGR output (ground and figure-filled rectangles, and interpolating diagonals) can be obtained using [I_output, I_output_raw, Idiagonals]=runCONFIGR(I)

More info available at http://techlab.bu.edu/resources/software_view/configr_matlab_and_c_code/

- Contributors
Gail Carpenter
Ben Chandler
Robert Kozma
Praveen K. Pilly
Chaitanya Sai
Doug Sondak
Kadin Tseng

MATLAB release MATLAB 7.4 (R2007a)
Other requirements More info available at http://techlab.bu.edu/resources/software_view/configr_matlab_and_c_code/
Zip File Content  
Other Files
CONFIGR_matlab/AddNewRectangles.m,
CONFIGR_matlab/CheckBound.m,
CONFIGR_matlab/CheckOutBoundGround.m,
CONFIGR_matlab/CONFIGR_6.m,
CONFIGR_matlab/CONFIGR_6_CreatePlots.m,
CONFIGR_matlab/CONFIGR_6_FindBound.m,
CONFIGR_matlab/CONFIGR_6_Init.m,
CONFIGR_matlab/CONFIGR_6_Init_Function.m,
CONFIGR_matlab/CONFIGR_6_LobePropagate.m,
CONFIGR_matlab/CONFIGRtestimages.mat,
CONFIGR_matlab/CreateNewDiagonals.m,
CONFIGR_matlab/EmptyRectangleTypeOne_Ground_6.m,
CONFIGR_matlab/EmptyRectangleTypeTwo_Ground_6.m,
CONFIGR_matlab/FillingFIGURE.m,
CONFIGR_matlab/FillingGROUND.m,
CONFIGR_matlab/imresize_old_CONFIGR.m,
CONFIGR_matlab/InterpolateDiagonalLines.m,
CONFIGR_matlab/InterpolateLines.m,
CONFIGR_matlab/MontereyImage.mat,
CONFIGR_matlab/plotIpixels.m,
CONFIGR_matlab/readme.txt,
CONFIGR_matlab/runCONFIGR.m,
CONFIGR_matlab/sign01.m,
CONFIGR_matlab/sign02.m,
CONFIGR_matlab/SimpleRoadImage.m,
CONFIGR_matlab/SimpleRoadImageBlack.m,
CONFIGR_matlab/SimpleRoadImageFunky_both.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
08 Jul 2009

Updated authorship and link information

20 Jul 2009

corrected typo on Description

21 Jul 2009

edited beginning and contributors

22 Jul 2009

updated authorship/credits

Tag Activity for this File
Tag Applied By Date/Time
image processing Massimiliano Versace 08 Jul 2009 10:47:23
biological models vision Massimiliano Versace 08 Jul 2009 10:47:23
neural networks Massimiliano Versace 08 Jul 2009 10:47:23
machine learning Massimiliano Versace 08 Jul 2009 10:47:23
modeling Massimiliano Versace 08 Jul 2009 10:47:23
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com