www.pudn.com > matlab-unwrapping-algorithms.zip > Costantini phase unwrapping.htm, change:2009-09-16,size:20236b


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> 
<!-- saved from url=(0057)http://www.mathworks.com/matlabcentral/fileexchange/25154 --> 
<HTML lang=en><HEAD><TITLE>MATLAB Central - File detail - Costantini phase unwrapping</TITLE><!-- request.URI=/matlabcentral/scrape_fx.html --><!-- request.docBase=/matlabcentral/ --><!-- request.locale.language=en --><!-- request.locale.country= --><!-- START OF GLOBAL NAV --><LINK  
href="Costantini phase unwrapping.files/sitewide.css" type=text/css  
rel=stylesheet><LINK href="Costantini phase unwrapping.files/mlc.css"  
type=text/css rel=stylesheet><!--[if lt IE 7]><LINK  
href="Costantini phase unwrapping.files/ie6down.css" type=text/css  
rel=stylesheet><![endif]--> 
<META http-equiv=content-type content="text/html; charset=UTF-8"><LINK  
href="Costantini phase unwrapping.files/fileexchange.css" type=text/css  
rel=stylesheet> 
<SCRIPT src="Costantini phase unwrapping.files/prototype.js"  
type=text/javascript></SCRIPT> 
 
<SCRIPT src="Costantini phase unwrapping.files/effects.js"  
type=text/javascript></SCRIPT> 
 
<SCRIPT src="Costantini phase unwrapping.files/dragdrop.js"  
type=text/javascript></SCRIPT> 
 
<SCRIPT src="Costantini phase unwrapping.files/controls.js"  
type=text/javascript></SCRIPT> 
 
<SCRIPT src="Costantini phase unwrapping.files/application.js"  
type=text/javascript></SCRIPT> 
<LINK media=screen href="Costantini phase unwrapping.files/application.css"  
type=text/css rel=stylesheet> 
<META content="MSHTML 6.00.2900.3603" name=GENERATOR></HEAD> 
<BODY> 
<DIV id=header> 
<DIV class=wrapper><!--put nothing in left div - only 11px wide shadow --> 
<DIV class=main> 
<DIV id=logo><A title=Home  
href="http://www.mathworks.com/matlabcentral/index.html"></A></DIV> 
<DIV id=headertools> 
<SCRIPT language=JavaScript1.3 type=text/javascript> 
 
function submitForm(query){ 
 
choice = document.forms['searchForm'].elements['search_submit'].value; 
 
if (choice == "entire1" || choice == "entire2" || choice == "contest" || choice == "matlabcentral" || choice == "blogs"){ 
 
   var searchInputNames = new Array("db","prox","rorder","rprox","rdfreq","rwfreq","rlead","sufs","order","is_summary_on","ResultCount"); 
   var searchInputValues = new Array("MSS","page","750","750","500","500","250","0","r","1","10"); 
 
   for (var i=0; i<searchInputNames.length; i++){ 
      var newElem = document.createElement("input"); 
      newElem.type = "hidden"; 
      newElem.name = searchInputNames[i]; 
      newElem.value = searchInputValues[i]; 
      document.forms['searchForm'].appendChild(newElem); 
   } 
 
   submit_action = '/cgi-bin/texis/webinator/search/'; 
} 
 
switch(choice){ 
   case "matlabcentral": 
      var newElem = document.createElement("input"); 
      newElem.type = "hidden"; 
      newElem.name = "matlabcentral"; 
      newElem.value = "Matlabcentral"; 
      document.forms['searchForm'].appendChild(newElem); 
 
      selected_index = 0; 
      break 
   case "fileexchange": 
      var newElem = document.createElement("input"); 
      newElem.type = "hidden"; 
      newElem.name = "term"; 
      newElem.value = query.value; 
      newElem.classname = "formelem"; 
      document.forms['searchForm'].appendChild(newElem); 
 
      submit_action = "/matlabcentral/fileexchange/"; 
      selected_index = 1; 
      break 
   case "cssm": 
      var newElem = document.createElement("input"); 
      newElem.type = "hidden"; 
      newElem.name = "search_string"; 
      newElem.value = query.value; 
      newElem.classname = "formelem"; 
      document.forms['searchForm'].appendChild(newElem); 
 
			submit_action = "/matlabcentral/newsreader/search_results"; 
      selected_index = 2; 
      break 
   case "linkexchange": 
      var newElem = document.createElement("input"); 
      newElem.type = "hidden"; 
      newElem.name = "term"; 
      newElem.value = query.value; 
      newElem.classname = "formelem"; 
      document.forms['searchForm'].appendChild(newElem); 
 
      submit_action = "/matlabcentral/linkexchange/"; 
      selected_index = 3; 
      break 
   case "blogs": 
      var newElem = document.createElement("input"); 
      newElem.type = "hidden"; 
      newElem.name = "blogs"; 
      newElem.value = "Blogs"; 
      document.forms['searchForm'].appendChild(newElem); 
 
      selected_index = 4; 
      break 
   case "contest": 
      var newElem = document.createElement("input"); 
      newElem.type = "hidden"; 
      newElem.name = "contest"; 
      newElem.value = "Contest"; 
      document.forms['searchForm'].appendChild(newElem); 
 
      selected_index = 5; 
      break 
   case "entire1": 
      selected_index = 6; 
      break 
   case "entire2": 
      selected_index = 7; 
      break 
   default: 
      selected_index = 7; 
      break 
} 
 
document.forms['searchForm'].elements['search_submit'].selectedIndex = selected_index; 
document.forms['searchForm'].elements['query'].value = query.value; 
document.forms['searchForm'].action = submit_action; 
 
} 
 
</SCRIPT> 
 
<FORM style="FONT-SIZE: 90%; MARGIN: 5px 0px 0px" name=searchForm  
onsubmit=submitForm(query) action="" method=post><LABEL  
for=search>Search:</LABEL> <SELECT style="FONT-SIZE: 9px" name=search_submit>  
  <OPTION value=matlabcentral selected>MATLAB Central</OPTION> <OPTION  
  value=fileexchange>   File Exchange</OPTION> <OPTION  
  value=cssm>   MATLAB Newsgroup</OPTION> <OPTION  
  value=linkexchange>   Link Exchange</OPTION> <OPTION  
  value=blogs>   Blogs</OPTION> <OPTION  
  value=contest>   Programming Contest</OPTION> <OPTION  
  value=entire1>MathWorks.com</OPTION> <OPTION  
  value=entire2>   All of MathWorks.com</OPTION></SELECT> <INPUT  
class=formelem size=10 name=query> <INPUT class="formelem gobutton" type=submit value=" Go " name=search> </FORM> 
<OL id=access2><A  
  href="https://www.mathworks.com/accesslogin/index_fe.do?uri=http://www.mathworks.com/matlabcentral/fileexchange/file_infos/25154">Login</A>  
 
  <LI class=first><A  
  href="https://www.mathworks.com/accesslogin/createProfile.do?uri=http://www.mathworks.com/matlabcentral/fileexchange/file_infos/25154">Create  
  Account</A>  
  <LI><A  
  href="https://www.mathworks.com/accesslogin/index_fe.do?uri=http://www.mathworks.com/matlabcentral/fileexchange/file_infos/25154">Login</A>  
  </LI></OL></DIV> 
<DIV id=globalnav><!-- from includes/global_nav.html --> 
<OL> 
  <LI class=active><A  
  href="http://www.mathworks.com/matlabcentral/fileexchange/">File Exchange</A>  
  </LI> 
  <LI class=;><A  
  href="http://www.mathworks.com/matlabcentral/newsreader/">Newsgroup</A> </LI> 
  <LI class=;><A  
  href="http://www.mathworks.com/matlabcentral/link_exchange/">Link Exchange</A>  
  </LI> 
  <LI class=;><A  
  href="http://blogs.mathworks.com/">  Blogs  </A> </LI> 
  <LI class=;><A  
  href="http://www.mathworks.com/contest/"> Contest </A> </LI> 
  <LI class="icon mathworks"><A  
  href="http://www.mathworks.com/">MathWorks.com</A>  
</LI></OL></DIV></DIV></DIV></DIV> 
<DIV id=middle> 
<DIV class=wrapper> 
<DIV id=colleft> 
<UL id=localnav> 
  <LI><A href="http://www.mathworks.com/matlabcentral/fileexchange/">Files</A>  
  </LI> 
  <LI><A  
  href="http://www.mathworks.com/matlabcentral/fileexchange/products">Files by  
  Product</A> </LI> 
  <LI><A  
  href="http://www.mathworks.com/matlabcentral/fileexchange/tags">Tags</A> </LI> 
  <LI><A  
  href="http://www.mathworks.com/matlabcentral/fileexchange/authors">Authors</A>  
  </LI> 
  <LI><A  
  href="http://www.mathworks.com/matlabcentral/fileexchange/feedbacks">Comments  
  and Ratings</A> </LI> 
  <LI class=maincta><A class=submitfile  
  href="http://www.mathworks.com/matlabcentral/fileexchange/new">Submit a  
  File</A> </LI></UL></DIV> 
<DIV class=columns2 id=mainbody> 
<TABLE class="details file" cellSpacing=0 cellPadding=0> 
  <TBODY> 
  <TR> 
    <TH class=maininfo> 
      <DIV id=rankinfo><A id=ratelink  
      href="http://www.mathworks.com/matlabcentral/fileexchange/25154#comment">Be  
      the first to rate this file!</A> <SPAN id=downloads>279 downloads (last 30  
      days)</SPAN> <SPAN id=filesize>File Size: 35.29 KB</SPAN> <SPAN  
      id=fileid>File ID: #25154</SPAN> </DIV> 
      <DIV id=thumbnail><A  
      href="http://www.mathworks.com/matlabcentral/fx_files/25154/3/cunwrap.png"  
      border="0"><IMG alt="image thumbnail"  
      src="Costantini phase unwrapping.files/preview.jpg"></A>  
      <P><A  
      href="http://www.mathworks.com/matlabcentral/fx_files/25154/3/cunwrap.png">View  
      full size image</A></P></DIV> 
      <DIV id=details> 
      <H1>Costantini phase unwrapping</H1> 
      <P id=author>by <A  
      href="http://www.mathworks.com/matlabcentral/fileexchange/authors/29906">Bruno  
      Luong</A> </P> 
      <P id=submissiondate> </P> 
      <P>27 Aug 2009 (Updated 29 Aug 2009) </P> 
      <P id=license>Code covered by <A  
      onclick="window.open(this.href,'new_window','height=500,width=640');return false;"  
      href="http://www.mathworks.com/matlabcentral/fileexchange/view_license?file_info_id=25154">BSD  
      License</A> <A class="info notext"  
      onclick="window.open(this.href,'small','toolbar=no,resizable=yes,status=yes,menu=no,scrollbars=yes,width=600,height=550');return false;"  
      href="http://www.mathworks.com/matlabcentral/fileexchange/help_license#bsd"> </A>  
      </SPAN> 
      <P id=summary>Implementation of Costantini's 2D unwrapping method based on  
      network programming</P> 
      <P id=filetools><A class=download title="Download Now"  
      href="http://www.mathworks.com/matlabcentral/fileexchange/25154?controller=file_infos&download=true">Download  
      Now</A> <SPAN class=divider>| </SPAN><A class=addwatch  
      title="Watch this file"  
      href="http://www.mathworks.com/matlabcentral/fileexchange/watchlists/new?type=file&uri=%2Fmatlabcentral%2Ffileexchange%2F25154&watching=25154">Watch  
      this File</A> </P></DIV></TH></TR> 
  <TR> 
    <TD class=file> 
      <TABLE class="fileview section" cellSpacing=0 cellPadding=0 border=0> 
        <TBODY> 
        <TR class=title> 
          <TH colSpan=2><SPAN class=heading>File Information</SPAN></TH></TR> 
        <TR> 
          <TD class=label>Description</TD> 
          <TD> 
            <P>Global 2D unwrapping based on minimum cost network flow</P> 
            <P>NOTE: The author (BL) found his implementation of this method is  
            generally not very robust compared to other unwrapping  
        methods</P></TD></TR> 
        <TR> 
          <TD class=label>Required Products </TD> 
          <TD><A  
            href="http://www.mathworks.com/products/optimization/">Optimization  
            Toolbox</A><BR></TD></TR> 
        <TR> 
          <TD class=label>MATLAB release</TD> 
          <TD>MATLAB 7.8 (R2009a) </TD></TR> 
        <TR> 
          <TD class=label><SPAN class=heading>Zip File Content</SPAN></TD> 
          <TD> </TD></TR> 
        <TR> 
          <TD class=label>Other Files </TD> 
          <TD>ConstantiniUnwrap/cunwrap.m, <BR>ConstantiniUnwrap/cunwrap.png,  
            <BR>ConstantiniUnwrap/test_cunwrap.m, <BR>license.txt  
      </TD></TR></TBODY></TABLE> 
      <TABLE class="fileview section" cellSpacing=0 cellPadding=0 border=0> 
        <TBODY> 
        <TR class=title> 
          <TH colSpan=2><SPAN class=heading>Tags for This File </SPAN><A  
            class="info notext"  
            onclick="window.open(this.href,'small','toolbar=no,resizable=yes,status=yes,menu=no,scrollbars=yes,width=600,height=550');return false;"  
            href="http://www.mathworks.com/matlabcentral/fileexchange/help_tags"> </A>  
          </TH></TR> 
        <TR> 
          <TD class=label>Everyone's Tags</TD> 
          <TD> 
            <DIV id=all_tags><SPAN><A  
            href="http://www.mathworks.com/matlabcentral/fileexchange/?term=tag%3A%22interferometry%22">interferometry</A></SPAN>,  
            <SPAN><A  
            href="http://www.mathworks.com/matlabcentral/fileexchange/?term=tag%3A%22network+flow%22">network  
            flow</A></SPAN>, <SPAN><A  
            href="http://www.mathworks.com/matlabcentral/fileexchange/?term=tag%3A%22phase+unwrapping%22">phase  
            unwrapping</A></SPAN>, <SPAN><A  
            href="http://www.mathworks.com/matlabcentral/fileexchange/?term=tag%3A%22sar%22">sar</A></SPAN>  
            </DIV></TD></TR> 
        <TR> 
          <TD class=label>Tags I've Applied</TD> 
          <TD> 
            <DIV id=my_tags><SPAN></SPAN></DIV></TD></TR> 
        <TR> 
          <TD class=label>Add New Tags</TD> 
          <TD><A  
            href="https://www.mathworks.com/accesslogin/index_fe.do?uri=http://www.mathworks.com/matlabcentral/fileexchange/25154">Please  
            login</A> to tag files. </TD></TR></TBODY></TABLE><A name=comment></A> 
      <TABLE class="fileview inlineform" cellSpacing=0 cellPadding=0> 
        <TBODY> 
        <TR> 
          <TD><A  
            href="https://www.mathworks.com/accesslogin/index_fe.do?uri=http://www.mathworks.com/matlabcentral/fileexchange/25154">Please  
            login</A> to add a comment or rating. </TD></TR></TBODY></TABLE> 
      <TABLE class="fileview section" cellSpacing=0 cellPadding=0 border=0> 
        <TBODY> 
        <TR class=title> 
          <TH colSpan=2><SPAN class=heading>Updates</SPAN></TH></TR> 
        <TR> 
          <TD class=date>28 Aug 2009</TD> 
          <TD> 
            <P>modification in block splitting, default size changes to 125 x  
            125 <BR>typo correction in help section</P></TD></TR> 
        <TR> 
          <TD class=date>29 Aug 2009</TD> 
          <TD> 
            <P>Correct a serious indexing bug</P></TD></TR></TBODY></TABLE> 
      <DIV id=tag_details> 
      <TABLE class="fileview datatable_full" id=tag_details cellSpacing=0  
      cellPadding=0 border=0> 
        <TBODY> 
        <TR> 
          <TH class="tabletools-top lower left" colSpan=3><SPAN  
            class=heading>Tag Activity for this File</SPAN></TH></TR> 
        <TR> 
          <TH>Tag</TH> 
          <TH>Applied By</TH> 
          <TH>Date/Time</TH></TR> 
        <TR> 
          <TD><A  
            href="http://www.mathworks.com/matlabcentral/fileexchange/?term=tag%3A%22phase+unwrapping%22">phase  
            unwrapping</A></TD> 
          <TD><A  
            href="http://www.mathworks.com/matlabcentral/fileexchange/authors/29906">Bruno  
            Luong</A></TD> 
          <TD>27 Aug 2009 12:24:22</TD></TR> 
        <TR class=odd> 
          <TD><A  
            href="http://www.mathworks.com/matlabcentral/fileexchange/?term=tag%3A%22interferometry%22">interferometry</A></TD> 
          <TD><A  
            href="http://www.mathworks.com/matlabcentral/fileexchange/authors/29906">Bruno  
            Luong</A></TD> 
          <TD>27 Aug 2009 12:24:22</TD></TR> 
        <TR> 
          <TD><A  
            href="http://www.mathworks.com/matlabcentral/fileexchange/?term=tag%3A%22sar%22">sar</A></TD> 
          <TD><A  
            href="http://www.mathworks.com/matlabcentral/fileexchange/authors/29906">Bruno  
            Luong</A></TD> 
          <TD>27 Aug 2009 12:24:22</TD></TR> 
        <TR class=odd> 
          <TD><A  
            href="http://www.mathworks.com/matlabcentral/fileexchange/?term=tag%3A%22network+flow%22">network  
            flow</A></TD> 
          <TD><A  
            href="http://www.mathworks.com/matlabcentral/fileexchange/authors/29906">Bruno  
            Luong</A></TD> 
          <TD>27 Aug 2009  
12:24:22</TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE> 
<DIV id=submissionpolicy> 
<H3>Public Submission Policy</H3> 
<P>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. <A  
class=small href="http://www.mathworks.com/matlabcentral/disclaimer.html">Read  
the complete Disclaimer prior to use.</A> </P></DIV> 
<P id=contactus>Contact us at <A  
href="mailto:files@mathworks.com">files@mathworks.com</A></P><!-- START OF GLOBAL FOOTER --></DIV> 
<DIV class=clearboth> </DIV> 
<DIV id=footer> 
<SCRIPT type=text/javascript> 
function clickDynamic(obj, target_url, tracking_code) { 
	var pos=target_url.indexOf("?"); 
	if (pos<=0) {  
		var linkComponents = target_url + tracking_code; 
		obj.href=linkComponents; 
	}  
} 
</SCRIPT> 
 
<DIV class=wrapper> 
<DIV> 
<UL id=mathworks> 
  <LI class=first>Featured MathWorks.com Topics:  
  <LI><A onclick="clickDynamic(this, this.href, '?s_cid=MLC_new')"  
  href="http://www.mathworks.com/products/new_products/latest_features.html">New  
  Products</A>  
  <LI><A title=support  
  onclick="clickDynamic(this, this.href, '?s_cid=MLC_support')"  
  href="http://www.mathworks.com/support/">Support</A>  
  <LI><A title=documentation  
  onclick="clickDynamic(this, this.href, '?s_cid=MLC_doc')"  
  href="http://www.mathworks.com/access/helpdesk/help/helpdesk.html">Documentation</A>  
 
  <LI><A title=training  
  onclick="clickDynamic(this, this.href, '?s_cid=MLC_training')"  
  href="http://www.mathworks.com/services/training/">Training</A>  
  <LI><A title=Webinars  
  onclick="clickDynamic(this, this.href, '?s_cid=MLC_webinars')"  
  href="http://www.mathworks.com/company/events/webinars/">Webinars</A>  
  <LI><A title=newsletters  
  onclick="clickDynamic(this, this.href, '?s_cid=MLC_newsletters')"  
  href="http://www.mathworks.com/company/newsletters/">Newsletters</A>  
  <LI><A title="MATLAB Trials"  
  href="http://www.mathworks.com/programs/trials/trial_request.html?prodcode=ML&s_cid=MLC_trials">MATLAB  
  Trials</A>  
  <LI><A title=Careers  
  onclick="clickDynamic(this, this.href, '?s_cid=MLC_careers')"  
  href="http://www.mathworks.com/company/jobs/">Careers</A> </LI></UL> 
<UL id=matlabcentral> 
  <LI class="copyright first">© 1994-2009 The MathWorks, Inc.  
  <LI><A title="Site Help" href="mailto:info@mathworks.com">Site Help</A>  
  <LI><A title=patents  
  href="http://www.mathworks.com/company/aboutus/policies_statements/patents.html"  
  rel=nofollow>Patents</A>  
  <LI><A title=trademarks  
  href="http://www.mathworks.com/company/aboutus/policies_statements/trademarks.html"  
  rel=nofollow>Trademarks</A>  
  <LI><A title="privacy policy"  
  href="http://www.mathworks.com/company/aboutus/policies_statements/"  
  rel=nofollow>Privacy Policy</A>  
  <LI><A title="preventing piracy"  
  href="http://www.mathworks.com/company/aboutus/policies_statements/piracy.html"  
  rel=nofollow>Preventing Piracy</A>  
  <LI><A title=RSS href="http://www.mathworks.com/company/rss/"  
  rel=nofollow>RSS</A> </LI></UL></DIV></DIV></DIV></DIV></DIV><!-- END OF GLOBAL FOOTER --><!-- SiteCatalyst code version: H.4. --> 
<SCRIPT language=JavaScript src="Costantini phase unwrapping.files/s_code.js"  
type=text/javascript></SCRIPT> 
 
<SCRIPT language=JavaScript type=text/javascript><!--
s.pageName=document.title
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code)//--></SCRIPT> 
 
<SCRIPT language=JavaScript type=text/javascript><!--
if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
//--></SCRIPT> 
<!--/DO NOT REMOVE/--><!-- End SiteCatalyst code version: H.4. --></BODY></HTML>