Image Sampling Algorithms

Sampling methods for images.
454 Downloads
Updated 6 Dec 2015

View License

Implementation of several image sampling methods including uniform, grid, jittered and best candidate algorithms. These algorithms differ in their complexity and spatial coverage, with the best candidate algorithm providing the greater spatial coverage, but at a computational cost.

Cite As

Rishi Ramakrishnan (2024). Image Sampling Algorithms (https://www.mathworks.com/matlabcentral/fileexchange/54340-image-sampling-algorithms), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
2.0

- added stratified sampling algorithm

1.2.0.0

- fixed a mistake that closed MATLAB when a wrong input was provided (changed exit to return)

1.1.0.0

- added a demonstration script,
- altered the grid sampling approach to provide more consistent sampling of the image by delaying the conversion to integers until the final step.

1.0.0.0