Attachment 'createGaussHoles.m'

Download

   1 % radiale Gauss-Filter unterschiedlicher Breite bauen
   2 
   3 % gewünschte Bildschirmauflösung
   4 X_Pixel = 1280;
   5 Y_Pixel = 1024;
   6 % X_Pixel = 1024;
   7 % Y_Pixel = 768;
   8 % X_Pixel = 800;
   9 % Y_Pixel = 600;
  10 
  11 for groesse=10:20:190
  12     maxx=X_Pixel;
  13     maxy=Y_Pixel;
  14     [xi,yi] = meshgrid(1:1:maxx,1:1:maxy);
  15     xc=xi-round(maxx/2);
  16     yc=yi-round(maxy/2);
  17     zi=exp(-(xc.*xc+yc.*yc)/(groesse*maxy));
  18 %     [xn,yn] = meshgrid(1:20:X_Pixel,1:20:Y_Pixel);
  19 %     zn=interp2(xi,yi,zi,xn,yn,'linear',0);
  20     fname=sprintf('GaussHole_%d_%dx%d.dat', (groesse/10+1)/2, X_Pixel, Y_Pixel);
  21     f=fopen(fname,'w','ieee-le');
  22     fwrite(f,zi','float32');
  23     fclose(f);
  24 end

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-04-30 13:36:58, 0.6 KB) [[attachment:12x9_128_1.txt]]
  • [get | view] (2008-04-30 13:37:05, 0.6 KB) [[attachment:12x9_128_2.txt]]
  • [get | view] (2008-04-30 13:37:09, 0.6 KB) [[attachment:12x9_128_3.txt]]
  • [get | view] (2008-04-30 13:39:29, 0.4 KB) [[attachment:12x9_256_corrected.txt]]
  • [get | view] (2009-03-25 11:47:48, 3072.0 KB) [[attachment:GaussHole_3_1024x768.dat]]
  • [get | view] (2009-03-25 11:47:55, 5120.0 KB) [[attachment:GaussHole_3_1280x1024.dat]]
  • [get | view] (2009-03-25 11:48:05, 9000.0 KB) [[attachment:GaussHole_3_1920x1200.dat]]
  • [get | view] (2009-03-25 11:47:40, 1875.0 KB) [[attachment:GaussHole_3_800x600.dat]]
  • [get | view] (2008-08-15 06:05:41, 5120.0 KB) [[attachment:LuminanceCorrection1280x1024.dat]]
  • [get | view] (2008-08-15 06:05:29, 5120.0 KB) [[attachment:LuminanceCorrection1280x1024Test.dat]]
  • [get | view] (2009-03-25 11:46:26, 3072.0 KB) [[attachment:NoCorrection_1024x768.dat]]
  • [get | view] (2009-03-25 11:46:12, 5120.0 KB) [[attachment:NoCorrection_1280x1024.dat]]
  • [get | view] (2008-08-15 06:05:54, 7500.0 KB) [[attachment:NoCorrection_1600x1200.dat]]
  • [get | view] (2009-03-25 11:47:06, 6890.6 KB) [[attachment:NoCorrection_1680x1050.dat]]
  • [get | view] (2008-08-15 06:06:02, 9000.0 KB) [[attachment:NoCorrection_1920x1200.dat]]
  • [get | view] (2008-10-07 06:25:55, 1875.0 KB) [[attachment:NoCorrection_800x600.dat]]
  • [get | view] (2008-04-30 13:42:13, 0.3 KB) [[attachment:createDummyCorrection.m]]
  • [get | view] (2008-04-30 13:42:06, 0.7 KB) [[attachment:createGaussHoles.m]]
  • [get | view] (2008-04-30 13:37:33, 36.3 KB) [[attachment:kontrollmessung128.png]]
  • [get | view] (2008-04-30 13:22:45, 25.7 KB) [[attachment:kontrollmessung128_stationaer.png]]
  • [get | view] (2008-04-30 13:40:03, 31.2 KB) [[attachment:kontrollmessung255.png]]
  • [get | view] (2008-04-30 13:36:23, 11.8 KB) [[attachment:luminanceCorrection.m]]
  • [get | view] (2008-04-30 13:36:35, 21.8 KB) [[attachment:merged_calibrate_display.2008-02-19_13_48_52_calibrate_display.2008-02-21_08_57_08.cal]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.