function pixels = getpixels(data, n)

x = data(1);
y = data(2);
m = floor(n/2);

[i0, j0] = toindex(x, y);
r = repmat(-m:m, n, 1);
i = i0 + r;
j = j0 + r';
pixels = [i(:) j(:)];
Sable
github-repos/MATLAB/Sable-mcbench-benchmarks/mcbench-benchmarks-ba13b2f0296ef49491b95e3f984c7c41fccdb6d8/33762-zatackaachtung-die-kurve-for-matlab/getpixels.m
mcbench-benchmarks
github-repos/MATLAB/Sable-mcbench-benchmarks
ba13b2f0296ef49491b95e3f984c7c41fccdb6d8