Importing and Exporting
Mathematica 5 continues to enhance the capabilities of Import and Export to cover the widest range of data
formats and work with large datasets. SVG, PNG, and DICOM are among
the graphics, web and matrix formats added, bringing the total number
to over 40.
Example: DICOM
The upper image of a knee joint was imported directly from an MRI
scanner using the Digital Imaging and Communications in Medicine
(DICOM) standard, and displayed with Mathematica. The lower
image shows the output after edge-detection analysis performed
by Mathematica in a single step.
Example: PNG
The upper image was imported from the web using the Portable Network
Graphics (PNG) format. This bitmap format has become increasingly
popular. The lower image shows the result of color separation
performed in Mathematica using a simple one-line routine.
Example: Sparse Arrays
Mathematica 5 supports import and export of files in many
standard sparse array formats such as Matrix Market and
Harwell-Boeing. Using the function MatrixPlot,
the structure of nonzero
elements of an imported matrix are shown.
Example: XHTML with CSS
This screenshot shows a Mathematica notebook exported as an
XHTML file and displayed in a web
browser. Note that the look and feel of the original notebook are
preserved.
|