What does the LineBufferSize property of Median Filter actually mean?
Mostra commenti meno recenti
Hello. I need help with understanding of http://www.mathworks.com/help/visionhdl/ref/visionhdl.medianfilter-class.html#bt46bx9-6 The description for LineBufferSize property says: "Choose a power of 2 that accommodates the number of active pixels in a horizontal line. If you specify a value that is not a power of two, the object uses the next largest power of two. The object allocates N - 1-by-LineBufferSize memory locations to store the pixels used to compute the median value. N is the number of lines in the square region specified in Neighborhood size."
1. Is there anywhere separate block or function for hdl coder to operate with pixel and its neighborhood?
2. Does this mean if I have 320 active pixels per line so I need to set 512 value for LineBufferSize at least?
3. Does object allocate N separate vectors with LineBufferSize lengh or matrix (N-1)xLineBufferSize? If second option, could you explain why so?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su HDL-Optimized Algorithm Design in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!