from rsf.proj import * # Download the input data file Fetch('lena.img','imgs') # Create RSF header Flow('lena.hdr','lena.img', 'echo n1=512 n2=513 in=$SOURCE data_format=native_uchar', stdin=0) # Convert to floating point and window out first trace Flow('lena','lena.hdr','dd type=float | window f2=1') # Display Result('lena', ''' sfgrey title="Hello, World!" transp=n color=b bias=128 clip=100 screenratio=1 ''') # Wrap up End() |