what is the optimal block size while dealing with gray scale images?

2 views (last 30 days)
i need to know the optimal block size

Accepted Answer

Walter Roberson
Walter Roberson on 13 Feb 2013
It depends on the details of the hardware caches in your processor, and on the datatype of your data, and upon how your processing function manipulates the data. If your blocksize is too small then you make too many function calls, but as it gets larger the mathematics of the calculation might get more complex.

More Answers (0)

Categories

Find more on Problem-Based Optimization Setup in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!