Image Sampling Algorithms

Sampling methods for images.

You are now following this Submission

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 (2026). Image Sampling Algorithms (https://in.mathworks.com/matlabcentral/fileexchange/54340-image-sampling-algorithms), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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