在C++中是否有任何解決方案我可以像在Matlab中使用冒號一樣。在OpenCV C++中使用Matlab的冒號操作符無循環
在Matlab
image(i,j-one_count:j-1)=0;
由於我使用墊結構opencv的,所以它也是矢量結構。
如何在不使用循環的情況下使用C++編寫相同的代碼?
整個代碼都Matlab和C++中的另一個問題
Attempt to implementation Running Length Smoothing Algorithm in C++
我在這個問題上傳Matlab和C++相關的這個算法看一看 http://stackoverflow.com/questions/21607017/attempt-to-implementation-running-length-smoothing-algorithm-in-c – sayvortana