lass="lineno">  423</span>&#160;end</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;<span class="keyword">function</span> newArray = LocalMapToGray(inArray);</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;n = length(inArray);</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;newArray = cell(n,1);</div><div class="line"><a 