%DIP Class Demo
%Shreekanth Mandayam, Rowan University
close all;
N=256;
cutoff=0.2;
[f1,f2]=freqspace(N);
[f1,f2]=meshgrid(f1,f2);
f=ones(N,N)*10;d=find(sqrt(f1.^2+f2.^2) < cutoff);
f(d)=ones(size(d))*245;
figure(1);clf;
imshow(f,gray(256))
title('f(x,y)');
