Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2008-04-27 16:36:00
Size: 1152
Editor: anonymous
Comment:
Revision 3 as of 2008-04-27 16:54:47
Size: 987
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[[{{attachement:ASAR_seaice_20080421_f32_5000x5000.dat}}|Data]]
[[attachment:ASAR_seaice_mixed_20080421_f32_1000x1000.dat]]
Line 17: Line 19:
y0,x0,wy,wx=2300,2800,1000,1000
img=reshape(fromfile('ASAR_seaice_20080421_f32_5000x5000.dat',dtype=float32),(5000,5000))[y0:y0+wy,x0:x0+wx]
img=reshape(fromfile('ASAR_seaice_mixed_20080421_f32_1000x1000.dat',dtype=float32),(1000,1000))
Line 24: Line 25:
savefig('seaice_intensity.png',dpi=100)
Line 36: Line 36:
savefig('seaice_histogram.png',dpi=100)
Line 42: Line 41:
savefig('seaice_dB.png',dpi=100)}}}

LehreWiki: SiaProgrammingPythonImageProc/Statistics/ExampleCode (last edited 2008-04-27 16:55:42 by anonymous)