Beispiel #1
0
        public SpectralAnaliser(ModelApplication application, int channel, int block_size, int block_stride, int size_x, int size_y)
        {
            this.application = application;
            this.Dispatcher  = Dispatcher.CurrentDispatcher;
            this.blocker     = new Blocker(block_size, 8);
            this.blocker.ExecuteStart();
            this.is_running = false;

            this.channel = channel;

            this.image   = new ImageRaster2D <float>(size_x, size_y);
            this.x_index = 0;
            this.f_rate  = block_size / (size_y * 2);

            Render();
        }
Beispiel #2
0
 public MainWindow()
 {
     InitializeComponent();
     DataContext = new ModelApplication();
 }