public void setDepths ( int view , double featureDepths [ ] ) { if ( featureDepths . length < depths . numCols ) throw new IllegalArgumentException ( "Pixel count must be constant and match " + pixels . numCols ) ; int N = depths . numCols ; for ( int i = 0 ; i < N ; i ++ ) { depths . set ( view , i , featureDepths [ i ] ) ; } }
Sets depths for a particular value to the values in the passed in array