12.07.2015 Views

an innovative algorithm for key frame extraction in video ...

an innovative algorithm for key frame extraction in video ...

an innovative algorithm for key frame extraction in video ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

obta<strong>in</strong><strong>in</strong>g similar results as the application of the <strong>algorithm</strong>s to the orig<strong>in</strong>al<strong>frame</strong>s. To limit the risk to lose <strong>in</strong><strong>for</strong>mation, especially <strong>for</strong> the edge histogram <strong>an</strong>dthe wavelet statistics, we have chosen to sub-sample the <strong>frame</strong>s to a dimension of64 pixels.6.1 Theoretical ComplexityTable 3 shows the theoretical complexity of the <strong>key</strong> <strong>frame</strong> <strong>extraction</strong> <strong>algorithm</strong>s.We have used the same approach <strong>an</strong>d notation <strong>in</strong> Lefevre et. al [37]. Thecomplexity was computed consider<strong>in</strong>g mathematical, logical <strong>an</strong>d comparisonoperations (all supposed hav<strong>in</strong>g cost one). We have not taken <strong>in</strong>to accountmemory usage, allocation, de-allocation or the cost required to decode a <strong>frame</strong>. Incomput<strong>in</strong>g the complexity we have considered the cost required to compute thefeatures needed by the <strong>algorithm</strong> (such as color histograms, statistics …), the costrequired to compute the values to be <strong>an</strong>alyzed (such as the cumulative <strong>frame</strong>differences or the PME values), <strong>an</strong>d the cost required by the actual <strong>key</strong> <strong>frame</strong>detection <strong>algorithm</strong>. All the costs were computed consider<strong>in</strong>g the <strong>algorithm</strong>s’parameters. Follow<strong>in</strong>g the authors notation, N is the number of b<strong>in</strong>s <strong>in</strong> ahistogram (we have used the same symbol to <strong>in</strong>dicate the size of a feature vector);P is the number of pixels <strong>in</strong> a <strong>frame</strong>, <strong>an</strong>d B the number of blocks of pixels <strong>in</strong> a<strong>frame</strong> (e.g. the macro-blocks <strong>in</strong> a compressed <strong>video</strong>). F<strong>in</strong>ally, we <strong>in</strong>dicate with Kthe number of <strong>key</strong> <strong>frame</strong>s. The complexity is relative to the operations per <strong>frame</strong>required to process a shot.Table 3. Complexities of the <strong>key</strong> <strong>frame</strong> <strong>algorithm</strong>s tested.Algorithm ComplexityATS O(3P + 9N )FR O(18P + 9N + 2K )CP O(72P + 13N )SRDI O(53P ) # +PME O(958B ) +MPO(2)Although the <strong>key</strong> <strong>frame</strong> selection step of the PME <strong>algorithm</strong> is simple, thepre-process<strong>in</strong>g phase per<strong>for</strong>med with the two nonl<strong>in</strong>ear filters penalizes the<strong>algorithm</strong>: much data must be <strong>an</strong>alyzed, <strong>an</strong>d each step of the filter<strong>in</strong>g process alsorequires data reorder<strong>in</strong>g be<strong>for</strong>e the f<strong>in</strong>al result <strong>for</strong> that step c<strong>an</strong> be obta<strong>in</strong>ed. Moreth<strong>an</strong> half of the operations required <strong>for</strong> the CP <strong>algorithm</strong> are due to the waveletcomputation (we have used the st<strong>an</strong>dard wavelet decomposition). Us<strong>in</strong>g the lift<strong>in</strong>gscheme will reduce the complexity by approximately the half [38]. The #<strong>an</strong>notation <strong>for</strong> the SRDI <strong>algorithm</strong> <strong>in</strong>dicates that the one-time operationsper<strong>for</strong>med on the <strong>key</strong> <strong>frame</strong>s (divided <strong>for</strong> the number of <strong>frame</strong>s) <strong>for</strong> thebackground classification have not been added. The + <strong>an</strong>notation <strong>for</strong> the SRDI<strong>an</strong>d PME <strong>algorithm</strong>s <strong>in</strong>dicates <strong>in</strong>stead, that the complexity reported do not <strong>in</strong>cludethe motion vectors computation. The SRDI e PME uses motion vectors <strong>an</strong>d thusthey c<strong>an</strong> take adv<strong>an</strong>tage of compressed <strong>video</strong> us<strong>in</strong>g them. If the motion vectorsare not available <strong>an</strong> additional cost should be added <strong>for</strong> each <strong>frame</strong> requir<strong>in</strong>g<strong>for</strong>ward or backward motion vectors computation. For example, us<strong>in</strong>g the fast 2Dlog search <strong>algorithm</strong> which is sub-optimal, requires <strong>an</strong> additional O(75P )operations [37].18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!