private void computeOctaveScales ( ) { octaveImages [ 0 ] = tempImage0 ; for ( int i = 1 ; i < numScales + 3 ; i ++ ) { octaveImages [ i ] . reshape ( tempImage0 . width , tempImage0 . height ) ; applyGaussian ( octaveImages [ i - 1 ] , octaveImages [ i ] , kernelSigmaToK [ i - 1 ] ) ; } for ( int i = 1 ; i < numScales + 3 ; i ++ ) { differenceOfGaussian [ i - 1 ] . reshape ( tempImage0 . width , tempImage0 . height ) ; PixelMath . subtract ( octaveImages [ i ] , octaveImages [ i - 1 ] , differenceOfGaussian [ i - 1 ] ) ; } }
Computes all the scale images in an octave . This includes DoG images .