📄 loadfile.do.htm
字号:
</tr>
<tr>
<td colspan="2">
<a href="javascript:PopUp('/cgi-bin/page_mail_mlc.cgi?language=en&host=www.mathworks.com&document=www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15491%26objectType=file','page_mail',true)"><img src="loadFile.do_files/mail_brdr.gif" alt="email" width="16" border="0" height="12">
E-mail this page to <br>
<span style="padding-left: 18px;">a colleague</span></a>
</td>
</tr>
<tr>
<td class="npad" valign="top"><img src="loadFile.do_files/dots_rnav.gif" alt="" vspace="0" width="180" height="5"></td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<script type="text/javascript" language="javascript">
<!--
function PopUp(page,title,which)
{
if (which==true) {
OpenWin = this.open('/cgi-bin/page_mail_mlc.cgi?language=en&host=www.mathworks.com&document=www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15491%26objectType=file', title, "toolbar=no,menubar=no,location=no,scrollbars=yes,resize=yes,height=385,width=440");
} else {
OpenWin = this.open('/cgi-bin/page_mail_mlc.cgi?language=en&host=www.mathworks.com&document=www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15491%26objectType=file', title, "toolbar=no,menubar=no,location=no,scrollbars=yes,resize=no,height=150,width=300");
}
}
//-->
</script>
<table id="breadcrmb" width="572" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td class="brdcrmbcell" height="20">
<a href="http://www.mathworks.com/matlabcentral/">MATLAB Central</a> >
<a href="http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do">File Exchange</a> > <a href="http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do?objectId=26&objectType=Category">Image Processing</a> > <a href="http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do?objectId=134&objectType=Category">Image Analysis</a> > Shape Recognition
</td>
</tr>
</tbody></table>
<div class="mainbody">
<table style="background-color: rgb(255, 255, 255);" width="536" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td>
<table width="514" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td colspan="2"><table width="514" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td class="headercell" width="70%" height="20"> Shape Recognition
</td><td class="headercell" width="30%" align="right"> </td></tr>
<tr><td colspan="2">
<img src="loadFile.do_files/blue_band_536x5.gif" width="536" height="5"></td>
</tr></tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<form name="dnlForm" method="post" action="/matlabcentral/fileexchange/download.do" style="margin-top: 0pt;"><input name="org.apache.struts.taglib.html.TOKEN" value="1a73375100174859ab44f044566c71dd" type="hidden">
<table class="filetable" width="536" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td colspan="4">
<table width="160" align="right" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td id="scrnshot" valign="top">
<div align="center"><a href="http://www.mathworks.com/matlabcentral/fileexchange/util.do?objectId=15491&imgName=r.JPG" onclick="window.open(this.href,'small','toolbar=no,resizable=yes,status=yes,menu=no,scrollbars=yes,width=700,height=600');return false;">
<img src="loadFile.do_files/preview.jpg" alt="" vspace="10" border="0"><br>
View fullsize image</a></div>
</td>
</tr>
</tbody></table>
<table width="376" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td valign="top" width="10"> </td>
<td><div style="padding-right: 10px;"><b>Download Now:</b></div></td>
<td><input name="Submit" value=" .zip " class="small" type="submit"></td>
</tr>
<tr>
<td valign="top" width="10"> </td>
<td valign="top"><b>Rating:</b>
</td>
<td>
<img src="loadFile.do_files/fullstar.gif" alt="" width="12" height="12" hspace="1"><img src="loadFile.do_files/fullstar.gif" alt="" width="12" height="12" hspace="1"><img src="loadFile.do_files/fullstar.gif" alt="" width="12" height="12" hspace="1"><img src="loadFile.do_files/fullstar.gif" alt="" width="12" height="12" hspace="1"><img src="loadFile.do_files/halfstar.gif" alt="" width="12" height="12" hspace="1">
<div style="margin-left: 20px; display: inline;">
<a href="http://www.mathworks.com/matlabcentral/fileexchange/loadRatings.do?objectId=15491&objectType=file&all" class="small">
19 reviews</a>
<b><a href="http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15491&objectType=file#review_submission" class="small">Review this file</a></b>
</div>
</td>
</tr>
<tr>
<td valign="top" width="10"> </td>
<td valign="top"><b>Code Metrics:</b></td>
<td>
<table cellpadding="0" cellspacing="0">
<tbody><tr>
<td width="75">
<table border="0" cellpadding="0" cellspacing="1">
<tbody><tr>
<td><img src="loadFile.do_files/50th.png" title="Complexity (59th percentile, raw score: 5)" width="11" border="0" height="10"></td>
<td><img src="loadFile.do_files/50th.png" title="M-Lint (52nd percentile, raw score: 1.0)" width="11" border="0" height="10"></td>
<td><img src="loadFile.do_files/50th.png" title="Help (56th percentile, raw score: 1.0)" width="11" border="0" height="10"></td>
<td><img src="loadFile.do_files/00th.png" title="Clash (7th percentile, raw score: 1)" width="11" border="0" height="10"></td>
<td><img src="loadFile.do_files/90th.png" title="Cloned (100th percentile, raw score: 0)" width="11" border="0" height="10"></td>
</tr>
</tbody></table>
</td>
<td>
<div style="margin-left: 10px; display: inline;">
<a href="http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15491&objectType=scoreDetails" class="small">Full report</a>
</div>
<br>
</td>
</tr>
<tr>
<td colspan="2">
<img src="loadFile.do_files/question.gif" alt="" width="9" border="0" height="11"> <a href="http://www.mathworks.com/matlabcentral/fileexchange/codeMetricsPopup.jsp" onclick="window.open(this.href,'small','toolbar=no,resizable=yes,status=yes,menu=no,scrollbars=yes,width=571,height=450');return false;" class="small">What is this?</a>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td valign="top" width="10"> </td>
<td valign="top" width="89"><b>Author:</b></td>
<td colspan="2"><a href="http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectType=author&objectId=1097712">Ahmed Samieh</a></td>
</tr>
<tr>
<td valign="top" width="10" height="15"> </td>
<td valign="top" width="89" height="15"><b>Summary:</b></td>
<td colspan="2" height="15">differentiate Square, Rectangular, Circle from others</td>
</tr>
<tr>
<td valign="top" width="10" height="15"> </td>
<td valign="top" width="125" height="15"><b>MATLAB Release:</b></td>
<td colspan="2" valign="bottom" height="15">R14SP1</td>
</tr>
<tr>
<td valign="top" width="10" height="15"> </td>
<td valign="top" width="125" height="15"><b>Required Products:</b></td>
<td colspan="2" height="15">Image Processing Toolbox</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td valign="top" width="10"> </td>
<td valign="top" width="135"><b>Description:</b></td>
<td class="lnwrp" width="456">
Objective<br>
---------<br>
The program should recognize objects like circles, rectangles, and squares from the input image.<br>
<br>
Introduction<br>
------------<br>
This is a shapes classifier based on the properties of each shape, like roundness, ratio of dimensions, centroid,?etc<br>
<br>
In this classifier we will recognize only shapes like circles, rectangles, and squares from the input image.<br>
So, we will concentrate on the steps we will follow to recognize those shapes from any input image.<br>
<br>
We have seven steps:<br>
1 - Read the RGB (colored) image in from user.<br>
2 - Convert image from (RGB) colored to gray image.<br>
3 - Threshold the image (convert gray image to binary image).<br>
4 - Invert the binary image (in order to speed up the time of processing).<br>
5 - Find the boundaries concentrate.<br>
6 - Determine shapes properties (ratio of dimensions, roundness).<br>
7 - Classify shapes according to its properties.<br>
<br>
Input<br>
-----<br>
RGB image have the shapes to recognize.<br>
<br>
Output<br>
------<br>
The RGB image with shapes recognized and labeled. <br>
</td>
</tr>
<tr>
<td valign="top" width="10"> </td>
<td colspan="3" valign="top"> </td>
</tr>
</tbody></table>
<input name="fileId" value="15491" type="hidden">
<input name="fileName" value="Shape Recognation" type="hidden">
<input name="fileExt" value=".zip" type="hidden">
<input name="contributorId" value="1097712" type="hidden">
</form>
<br>
<table style="background-color: rgb(255, 255, 255);" width="536" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td>
<table width="514" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td width="286"> <b class="feh4blk"> File Details</b></td>
<td width="228"> </td>
</tr>
<tr>
<td colspan="2"><img src="loadFile.do_files/blue_band_536x5.gif" alt="" width="536" height="5"></td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<table width="536" border="0" cellpadding="0" cellspacing="0">
<tbody><tr bgcolor="#f4f4f4">
<td colspan="5" valign="top"> </td>
</tr>
<tr bgcolor="#f4f4f4">
<td valign="top" width="1%"> </td>
<td valign="top" width="25%"><b>File Id:</b></td>
<td width="20%">15491</td>
<td valign="top" width="25%"><b>Average rating:</b></td>
<td width="29%">4.36</td>
</tr>
<tr bgcolor="#f4f4f4">
<td valign="top"> </td>
<td valign="top"><b>Size:</b></td>
<td>3 KB</td>
<td valign="top"><b># of reviews:</b></td>
<td>19</td>
</tr>
<tr bgcolor="#f4f4f4">
<td valign="top"> </td>
<td valign="top"><b>Submitted:</b></td>
<td>2007-07-03</td>
<td valign="top"><b>Downloads:</b></td>
<td>4528</td>
</tr>
<tr bgcolor="#f4f4f4">
<td valign="top"> </td>
<td valign="top"><b>Subscribers:</b></td>
<td>1</td>
<td colspan="2"> </td>
</tr>
<tr bgcolor="#f4f4f4">
<td> </td>
<td valign="top"><b>Keywords:</b></td>
<td colspan="3" valign="top">Shape Properties, Analysis, Recognition</td>
</tr>
<tr bgcolor="#f4f4f4">
<td valign="top" width="10"> </td>
<td colspan="4" valign="top"> </td>
</tr>
<tr bgcolor="#f4f4f4">
<td> </td>
<td valign="top"><b>Zip file contents:</b></td>
<td colspan="3" valign="top">test.bmp, Classify.m</td>
</tr>
</tbody></table>
<br>
<!--Acknowledgements -->
<!--Acknowledgements -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -