2014-01-05 63 views

回答

1

newImg(newImg < 1) = 0 

含義:取newImg所有條目,目前低於1,並將它們設置爲0

它使用logical indexing的概念。