<a target=_blank id="L1" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L1" rel="#L1" style="color: rgb(102, 102, 102); text-decoration: none;"> 1</a> <a target=_blank id="L2" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L2" rel="#L2" style="color: rgb(102, 102, 102); text-decoration: none;"> 2</a> <a target=_blank id="L3" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L3" rel="#L3" style="color: rgb(102, 102, 102); text-decoration: none;"> 3</a> <a target=_blank id="L4" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L4" rel="#L4" style="color: rgb(102, 102, 102); text-decoration: none;"> 4</a> <a target=_blank id="L5" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L5" rel="#L5" style="color: rgb(102, 102, 102); text-decoration: none;"> 5</a> <a target=_blank id="L6" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L6" rel="#L6" style="color: rgb(102, 102, 102); text-decoration: none;"> 6</a> <a target=_blank id="L7" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L7" rel="#L7" style="color: rgb(102, 102, 102); text-decoration: none;"> 7</a> <a target=_blank id="L8" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L8" rel="#L8" style="color: rgb(102, 102, 102); text-decoration: none;"> 8</a> <a target=_blank id="L9" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L9" rel="#L9" style="color: rgb(102, 102, 102); text-decoration: none;"> 9</a> <a target=_blank id="L10" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L10" rel="#L10" style="color: rgb(102, 102, 102); text-decoration: none;"> 10</a> <a target=_blank id="L11" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L11" rel="#L11" style="color: rgb(102, 102, 102); text-decoration: none;"> 11</a> <a target=_blank id="L12" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L12" rel="#L12" style="color: rgb(102, 102, 102); text-decoration: none;"> 12</a> <a target=_blank id="L13" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L13" rel="#L13" style="color: rgb(102, 102, 102); text-decoration: none;"> 13</a> <a target=_blank id="L14" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L14" rel="#L14" style="color: rgb(102, 102, 102); text-decoration: none;"> 14</a> <a target=_blank id="L15" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L15" rel="#L15" style="color: rgb(102, 102, 102); text-decoration: none;"> 15</a> <a target=_blank id="L16" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L16" rel="#L16" style="color: rgb(102, 102, 102); text-decoration: none;"> 16</a> <a target=_blank id="L17" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L17" rel="#L17" style="color: rgb(102, 102, 102); text-decoration: none;"> 17</a> <a target=_blank id="L18" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L18" rel="#L18" style="color: rgb(102, 102, 102); text-decoration: none;"> 18</a> <a target=_blank id="L19" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L19" rel="#L19" style="color: rgb(102, 102, 102); text-decoration: none;"> 19</a> <a target=_blank id="L20" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L20" rel="#L20" style="color: rgb(102, 102, 102); text-decoration: none;"> 20</a> <a target=_blank id="L21" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L21" rel="#L21" style="color: rgb(102, 102, 102); text-decoration: none;"> 21</a> <a target=_blank id="L22" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L22" rel="#L22" style="color: rgb(102, 102, 102); text-decoration: none;"> 22</a> <a target=_blank id="L23" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L23" rel="#L23" style="color: rgb(102, 102, 102); text-decoration: none;"> 23</a> <a target=_blank id="L24" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L24" rel="#L24" style="color: rgb(102, 102, 102); text-decoration: none;"> 24</a> <a target=_blank id="L25" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L25" rel="#L25" style="color: rgb(102, 102, 102); text-decoration: none;"> 25</a> <a target=_blank id="L26" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L26" rel="#L26" style="color: rgb(102, 102, 102); text-decoration: none;"> 26</a> <a target=_blank id="L27" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L27" rel="#L27" style="color: rgb(102, 102, 102); text-decoration: none;"> 27</a> <a target=_blank id="L28" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L28" rel="#L28" style="color: rgb(102, 102, 102); text-decoration: none;"> 28</a> <a target=_blank id="L29" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L29" rel="#L29" style="color: rgb(102, 102, 102); text-decoration: none;"> 29</a> <a target=_blank id="L30" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L30" rel="#L30" style="color: rgb(102, 102, 102); text-decoration: none;"> 30</a> <a target=_blank id="L31" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L31" rel="#L31" style="color: rgb(102, 102, 102); text-decoration: none;"> 31</a> <a target=_blank id="L32" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L32" rel="#L32" style="color: rgb(102, 102, 102); text-decoration: none;"> 32</a> <a target=_blank id="L33" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L33" rel="#L33" style="color: rgb(102, 102, 102); text-decoration: none;"> 33</a> <a target=_blank id="L34" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L34" rel="#L34" style="color: rgb(102, 102, 102); text-decoration: none;"> 34</a> <a target=_blank id="L35" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L35" rel="#L35" style="color: rgb(102, 102, 102); text-decoration: none;"> 35</a> <a target=_blank id="L36" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L36" rel="#L36" style="color: rgb(102, 102, 102); text-decoration: none;"> 36</a> <a target=_blank id="L37" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L37" rel="#L37" style="color: rgb(102, 102, 102); text-decoration: none;"> 37</a> <a target=_blank id="L38" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L38" rel="#L38" style="color: rgb(102, 102, 102); text-decoration: none;"> 38</a> <a target=_blank id="L39" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L39" rel="#L39" style="color: rgb(102, 102, 102); text-decoration: none;"> 39</a> <a target=_blank id="L40" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L40" rel="#L40" style="color: rgb(102, 102, 102); text-decoration: none;"> 40</a> <a target=_blank id="L41" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L41" rel="#L41" style="color: rgb(102, 102, 102); text-decoration: none;"> 41</a> <a target=_blank id="L42" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L42" rel="#L42" style="color: rgb(102, 102, 102); text-decoration: none;"> 42</a> <a target=_blank id="L43" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L43" rel="#L43" style="color: rgb(102, 102, 102); text-decoration: none;"> 43</a> <a target=_blank id="L44" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L44" rel="#L44" style="color: rgb(102, 102, 102); text-decoration: none;"> 44</a> <a target=_blank id="L45" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L45" rel="#L45" style="color: rgb(102, 102, 102); text-decoration: none;"> 45</a> <a target=_blank id="L46" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L46" rel="#L46" style="color: rgb(102, 102, 102); text-decoration: none;"> 46</a> <a target=_blank id="L47" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L47" rel="#L47" style="color: rgb(102, 102, 102); text-decoration: none;"> 47</a> <a target=_blank id="L48" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L48" rel="#L48" style="color: rgb(102, 102, 102); text-decoration: none;"> 48</a> <a target=_blank id="L49" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L49" rel="#L49" style="color: rgb(102, 102, 102); text-decoration: none;"> 49</a> <a target=_blank id="L50" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L50" rel="#L50" style="color: rgb(102, 102, 102); text-decoration: none;"> 50</a> <a target=_blank id="L51" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L51" rel="#L51" style="color: rgb(102, 102, 102); text-decoration: none;"> 51</a> <a target=_blank id="L52" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L52" rel="#L52" style="color: rgb(102, 102, 102); text-decoration: none;"> 52</a> <a target=_blank id="L53" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L53" rel="#L53" style="color: rgb(102, 102, 102); text-decoration: none;"> 53</a> <a target=_blank id="L54" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L54" rel="#L54" style="color: rgb(102, 102, 102); text-decoration: none;"> 54</a> <a target=_blank id="L55" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L55" rel="#L55" style="color: rgb(102, 102, 102); text-decoration: none;"> 55</a> <a target=_blank id="L56" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L56" rel="#L56" style="color: rgb(102, 102, 102); text-decoration: none;"> 56</a> <a target=_blank id="L57" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L57" rel="#L57" style="color: rgb(102, 102, 102); text-decoration: none;"> 57</a> <a target=_blank id="L58" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L58" rel="#L58" style="color: rgb(102, 102, 102); text-decoration: none;"> 58</a> <a target=_blank id="L59" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L59" rel="#L59" style="color: rgb(102, 102, 102); text-decoration: none;"> 59</a> <a target=_blank id="L60" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L60" rel="#L60" style="color: rgb(102, 102, 102); text-decoration: none;"> 60</a> <a target=_blank id="L61" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L61" rel="#L61" style="color: rgb(102, 102, 102); text-decoration: none;"> 61</a> <a target=_blank id="L62" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L62" rel="#L62" style="color: rgb(102, 102, 102); text-decoration: none;"> 62</a> <a target=_blank id="L63" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L63" rel="#L63" style="color: rgb(102, 102, 102); text-decoration: none;"> 63</a> <a target=_blank id="L64" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L64" rel="#L64" style="color: rgb(102, 102, 102); text-decoration: none;"> 64</a> <a target=_blank id="L65" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L65" rel="#L65" style="color: rgb(102, 102, 102); text-decoration: none;"> 65</a> <a target=_blank id="L66" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L66" rel="#L66" style="color: rgb(102, 102, 102); text-decoration: none;"> 66</a> <a target=_blank id="L67" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L67" rel="#L67" style="color: rgb(102, 102, 102); text-decoration: none;"> 67</a> <a target=_blank id="L68" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L68" rel="#L68" style="color: rgb(102, 102, 102); text-decoration: none;"> 68</a> <a target=_blank id="L69" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L69" rel="#L69" style="color: rgb(102, 102, 102); text-decoration: none;"> 69</a> <a target=_blank id="L70" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L70" rel="#L70" style="color: rgb(102, 102, 102); text-decoration: none;"> 70</a> <a target=_blank id="L71" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L71" rel="#L71" style="color: rgb(102, 102, 102); text-decoration: none;"> 71</a> <a target=_blank id="L72" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L72" rel="#L72" style="color: rgb(102, 102, 102); text-decoration: none;"> 72</a> <a target=_blank id="L73" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L73" rel="#L73" style="color: rgb(102, 102, 102); text-decoration: none;"> 73</a> <a target=_blank id="L74" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L74" rel="#L74" style="color: rgb(102, 102, 102); text-decoration: none;"> 74</a> <a target=_blank id="L75" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L75" rel="#L75" style="color: rgb(102, 102, 102); text-decoration: none;"> 75</a> <a target=_blank id="L76" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L76" rel="#L76" style="color: rgb(102, 102, 102); text-decoration: none;"> 76</a> <a target=_blank id="L77" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L77" rel="#L77" style="color: rgb(102, 102, 102); text-decoration: none;"> 77</a> <a target=_blank id="L78" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L78" rel="#L78" style="color: rgb(102, 102, 102); text-decoration: none;"> 78</a> <a target=_blank id="L79" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L79" rel="#L79" style="color: rgb(102, 102, 102); text-decoration: none;"> 79</a> <a target=_blank id="L80" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L80" rel="#L80" style="color: rgb(102, 102, 102); text-decoration: none;"> 80</a> <a target=_blank id="L81" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L81" rel="#L81" style="color: rgb(102, 102, 102); text-decoration: none;"> 81</a> <a target=_blank id="L82" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L82" rel="#L82" style="color: rgb(102, 102, 102); text-decoration: none;"> 82</a> <a target=_blank id="L83" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L83" rel="#L83" style="color: rgb(102, 102, 102); text-decoration: none;"> 83</a> <a target=_blank id="L84" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L84" rel="#L84" style="color: rgb(102, 102, 102); text-decoration: none;"> 84</a> <a target=_blank id="L85" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L85" rel="#L85" style="color: rgb(102, 102, 102); text-decoration: none;"> 85</a> <a target=_blank id="L86" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L86" rel="#L86" style="color: rgb(102, 102, 102); text-decoration: none;"> 86</a> <a target=_blank id="L87" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L87" rel="#L87" style="color: rgb(102, 102, 102); text-decoration: none;"> 87</a> <a target=_blank id="L88" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L88" rel="#L88" style="color: rgb(102, 102, 102); text-decoration: none;"> 88</a> <a target=_blank id="L89" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L89" rel="#L89" style="color: rgb(102, 102, 102); text-decoration: none;"> 89</a> <a target=_blank id="L90" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L90" rel="#L90" style="color: rgb(102, 102, 102); text-decoration: none;"> 90</a> <a target=_blank id="L91" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L91" rel="#L91" style="color: rgb(102, 102, 102); text-decoration: none;"> 91</a> <a target=_blank id="L92" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L92" rel="#L92" style="color: rgb(102, 102, 102); text-decoration: none;"> 92</a> <a target=_blank id="L93" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L93" rel="#L93" style="color: rgb(102, 102, 102); text-decoration: none;"> 93</a> <a target=_blank id="L94" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L94" rel="#L94" style="color: rgb(102, 102, 102); text-decoration: none;"> 94</a> <a target=_blank id="L95" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L95" rel="#L95" style="color: rgb(102, 102, 102); text-decoration: none;"> 95</a> <a target=_blank id="L96" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L96" rel="#L96" style="color: rgb(102, 102, 102); text-decoration: none;"> 96</a> <a target=_blank id="L97" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L97" rel="#L97" style="color: rgb(102, 102, 102); text-decoration: none;"> 97</a> <a target=_blank id="L98" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L98" rel="#L98" style="color: rgb(102, 102, 102); text-decoration: none;"> 98</a> <a target=_blank id="L99" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L99" rel="#L99" style="color: rgb(102, 102, 102); text-decoration: none;"> 99</a> <a target=_blank id="L100" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L100" rel="#L100" style="color: rgb(102, 102, 102); text-decoration: none;"> 100</a> <a target=_blank id="L101" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L101" rel="#L101" style="color: rgb(102, 102, 102); text-decoration: none;"> 101</a> <a target=_blank id="L102" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L102" rel="#L102" style="color: rgb(102, 102, 102); text-decoration: none;"> 102</a> <a target=_blank id="L103" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L103" rel="#L103" style="color: rgb(102, 102, 102); text-decoration: none;"> 103</a> <a target=_blank id="L104" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L104" rel="#L104" style="color: rgb(102, 102, 102); text-decoration: none;"> 104</a> <a target=_blank id="L105" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L105" rel="#L105" style="color: rgb(102, 102, 102); text-decoration: none;"> 105</a> <a target=_blank id="L106" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L106" rel="#L106" style="color: rgb(102, 102, 102); text-decoration: none;"> 106</a> <a target=_blank id="L107" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L107" rel="#L107" style="color: rgb(102, 102, 102); text-decoration: none;"> 107</a> <a target=_blank id="L108" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L108" rel="#L108" style="color: rgb(102, 102, 102); text-decoration: none;"> 108</a> <a target=_blank id="L109" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L109" rel="#L109" style="color: rgb(102, 102, 102); text-decoration: none;"> 109</a> <a target=_blank id="L110" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L110" rel="#L110" style="color: rgb(102, 102, 102); text-decoration: none;"> 110</a> <a target=_blank id="L111" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L111" rel="#L111" style="color: rgb(102, 102, 102); text-decoration: none;"> 111</a> <a target=_blank id="L112" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L112" rel="#L112" style="color: rgb(102, 102, 102); text-decoration: none;"> 112</a> <a target=_blank id="L113" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L113" rel="#L113" style="color: rgb(102, 102, 102); text-decoration: none;"> 113</a> <a target=_blank id="L114" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L114" rel="#L114" style="color: rgb(102, 102, 102); text-decoration: none;"> 114</a> <a target=_blank id="L115" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L115" rel="#L115" style="color: rgb(102, 102, 102); text-decoration: none;"> 115</a> <a target=_blank id="L116" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L116" rel="#L116" style="color: rgb(102, 102, 102); text-decoration: none;"> 116</a> <a target=_blank id="L117" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L117" rel="#L117" style="color: rgb(102, 102, 102); text-decoration: none;"> 117</a> <a target=_blank id="L118" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L118" rel="#L118" style="color: rgb(102, 102, 102); text-decoration: none;"> 118</a> <a target=_blank id="L119" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L119" rel="#L119" style="color: rgb(102, 102, 102); text-decoration: none;"> 119</a> <a target=_blank id="L120" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L120" rel="#L120" style="color: rgb(102, 102, 102); text-decoration: none;"> 120</a> <a target=_blank id="L121" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L121" rel="#L121" style="color: rgb(102, 102, 102); text-decoration: none;"> 121</a> <a target=_blank id="L122" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L122" rel="#L122" style="color: rgb(102, 102, 102); text-decoration: none;"> 122</a> <a target=_blank id="L123" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L123" rel="#L123" style="color: rgb(102, 102, 102); text-decoration: none;"> 123</a> <a target=_blank id="L124" href="http://blog.csdn.net/zhoufan900428/article/details/17203639#L124" rel="#L124" style="color: rgb(102, 102, 102); text-decoration: none;"> 124</a> |
close all;clear all;clc;%% --------------image registration---------------------------f_Original = imread('./characters_test_pattern.tif');f_Original = mat2gray(f_Original,[0 255]);[M,N] = size(f_Original); f = zeros(M+4,N+4);for x = 1:M f(x+2,:) = [0 0 f_Original(x,:) 0 0];end [M,N] = size(f); s_v = 0.3;s_w = 0.02; P = round(M+s_v*N);Q = round(N+s_w*M);g_1 = zeros(P,N); for x = (-P/2):1:(P/2)-1 for y = (-N/2):1:(N/2)-1 v = x - s_v * y; w = y; if (((w>=(-N/2))&&(w<=(N/2)-1))&&((v>=(-M/2))&&(v<=(M/2)-1))) Q_11 = f(floor(v)+(M/2)+1,floor(w)+(N/2)+1); Q_21 = f(floor(v)+(M/2)+1,ceil(w)+(N/2)+1); Q_12 = f(ceil(v)+(M/2)+1,floor(w)+(N/2)+1); Q_22 = f(ceil(v)+(M/2)+1,ceil(w)+(N/2)+1); R1 = (Q_21 - Q_11)*(w-floor(w)) + Q_11; R2 = (Q_22 - Q_12)*(w-floor(w)) + Q_12; g_1(x+(P/2)+1,y+(N/2)+1) = (R2-R1)*(v-floor(v)) + R1; end endend g = zeros(P,Q); for x = (-P/2):1:(P/2)-1 for y = (-Q/2):1:(Q/2)-1 v = x; w = y - s_w * x; if (((w>=(-N/2))&&(w<=(N/2)-1))&&((v>=(-P/2))&&(v<=(P/2)-1))) Q_11 = g_1(floor(v)+(P/2)+1,floor(w)+(N/2)+1); Q_21 = g_1(floor(v)+(P/2)+1,ceil(w)+(N/2)+1); Q_12 = g_1(ceil(v)+(P/2)+1,floor(w)+(N/2)+1); Q_22 = g_1(ceil(v)+(P/2)+1,ceil(w)+(N/2)+1); R1 = (Q_21 - Q_11)*(w-floor(w)) + Q_11; R2 = (Q_22 - Q_12)*(w-floor(w)) + Q_12; g(x+(P/2)+1,y+(Q/2)+1) = (R2-R1)*(v-floor(v)) + R1; end endend figure();subplot(1,2,1);imshow(f,[0 1]);xlabel('a).Original Image');hold on;plot(621, 78,'ro','MarkerSize',7);plot(116,113,'ro','MarkerSize',7);plot( 85,649,'ro','MarkerSize',7);plot(624,641,'ro','MarkerSize',7); subplot(1,2,2);imshow(g,[0 1]);xlabel('b).Ruselt of Geometric spatial transform');hold on;plot(625,264,'ro','MarkerSize',7);plot(116,147,'ro','MarkerSize',7);plot( 96,674,'ro','MarkerSize',7);plot(638,828,'ro','MarkerSize',7);%% f_reg = zeros(M,N); Original = [621-(N/2) 78-(M/2) (621-(N/2))*(78-(M/2)) 1; 116-(N/2) 113-(M/2) (116-(N/2))*(113-(M/2)) 1; 85-(N/2) 649-(M/2) (85-(N/2))*(649-(M/2)) 1; 624-(N/2) 641-(M/2) (624-(N/2))*(641-(M/2)) 1]; Ruselt = [625-(Q/2);116-(Q/2);96-(Q/2);638-(Q/2)]; c = (Original)\Ruselt; %C1~C4 Ruselt = [264-(P/2);147-(P/2);674-(P/2);828-(P/2)]; c = [c (Original)\Ruselt]; %C5~C8 wwwwww for y = (-M/2):1:(M/2)-1 for x = (-N/2):1:(N/2)-1 w = c(1,1)*y + c(2,1)*x + c(3,1)*x*y + c(4,1); v = c(1,2)*y + c(2,2)*x + c(3,2)*x*y + c(4,2); if (((w>=(-Q/2))&&(w<=(Q/2)-1))&&((v>=(-P/2))&&(v<=(P/2)-1))) Q_11 = g(floor(v)+(P/2)+1,floor(w)+(Q/2)+1); Q_21 = g(floor(v)+(P/2)+1,ceil(w)+(Q/2)+1); Q_12 = g(ceil(v)+(P/2)+1,floor(w)+(Q/2)+1); Q_22 = g(ceil(v)+(P/2)+1,ceil(w)+(Q/2)+1); R1 = (Q_21 - Q_11)*(w-floor(w)) + Q_11; R2 = (Q_22 - Q_12)*(w-floor(w)) + Q_12; f_reg(x+(N/2)+1,y+(M/2)+1) = (R2-R1)*(v-floor(v)) + R1; %g(round(v+(P/2)+1),round(w+(Q/2)+1)) = 0.5; end endend g_diff = abs(f - f_reg); figure();subplot(1,2,1);imshow(f_reg,[0 1]);xlabel('c).Ruselt of image registration'); subplot(1,2,2);imshow(g_diff,[0 1]);xlabel('d).Difference image'); |