Vectorization
4 ビュー (過去 30 日間)
古いコメントを表示
Dear Community,
Let say I have Matrix M. In Matrix M, each Column is feature of Image. Now what I want to get a binary matrix B by following way.
for given image feature i:
B(1,i) = M(1,i) >= M(2,i);
its mean for each image feature, each cell is compared to its next cell. I want to do it without loops for speed.
1 件のコメント
Oleg Komarov
2012 年 4 月 15 日
"Without loops for speed" is really not the right statement anymore.
Many times loops are much faster is correctly set up.
採用された回答
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!