Previous Next        Current Page: NeXtMidas Training / Primitives / Introduction to DSP / Using the Data Class
back
Start Here   
Background   
Common Midas Concepts   
Getting Started - Part 1   
Getting Started - Part 2   
Working with Files   
Option Trees   
Macros - Part 1 (Basics)   
Macros - Part 2 (Graphics)   
NetBeans - Part 1 (Setup)   
NetBeans - Part 2 (GUIs)   
NetBeans - Part 3 (Profiler)   
Eclipse - Part 1 (Setup)   
Eclipse - Part 2 (GUIs)   
Primitives   
   + Overview   
   + Open, Process, Close   
   + Building   
   + The NeXtMidas API   
   + Lab 1   
   + Special Variables   
   + Lab 2   
   + Lab 3*   
   + Files in a Primitive   
   + Lab 4   
   + Lab 5*   
   + Test Macros   
   + Lab 6   
   + Real Time Controls   
   + Lab 7   
   + Working with Messages   
   + Lab 8   
   + Primitive Restarts   
   - Introduction to DSP   
      - Using the Data Class   
      - Using the Data Class (ctd.)   
   + Lab 9   
WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • DSP in NeXtMidas:
    • A DSP primitive is realy no different than a simple primitive that reads and writes frame-based data.
      • If you completed Lab 4 (Write a lite version of NOOP.), you are in good shape.
      • The difference between a DSP primitive and NOOP is that the DSP primitive does something with the data between the read(..) and write(..).
    • The key to understanding how to do DSP in NeXtMidas is understanding the Data class.
  • The Data Class:
    • The Data class acts as a buffer for data read in from a file or that will be written out to a file.
    • Data from a BLUE file can be directly read into a Data buffer and can also be written out from a Data buffer.
    • The Data class also handles conversion to/from native Java arrays.
      • The docs for the nxm.sys.lib.Data class have details on how this works.
      • A few of the highlights are outlined on the next page.

back