Code covered by the BSD License  

Highlights from
Read SPIDER files

5.0

5.0 | 1 rating Rate this file 6 Downloads (last 30 days) File Size: 1.68 MB File ID: #22902

Read SPIDER files

by Bill Baxter

 

05 Feb 2009 (Updated 19 May 2009)

Read and write files in SPIDER format

| Watch this File

File Information
Description

SPIDER is a free image processing system for electron microscopy. It is used for three-dimensional reconstruction of single particle macromolecules, multivariate statistical classification, and electron tomography. See the extensive documentation and many available techniques at www.wadsworth.org/spider_doc/spider/docs/master.html

SPIDER has its own binary format for images and volumes. The SPIDER M-file collection lets users read SPIDER images, volumes, image stacks, and textual document files directly into Matlab data types for processing and visualization.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
20 May 2011 Charles Sindelar

Thank you Bill for a very useful set of routines.
I have discovered a problem with writeSPIDERfile.m when it is used with Octave, an open-source matlab equivalent, so I thought I would share the fix. The problem is that the header length is computed wrong by the line:

labrec = uint32(1024 / lenbyt);

In Octave, at least, "uint32" seems to perform a rounding operation, whereas the correct operation is a "floor". So, the following fix appears to work just fine:

labrec = uint32(floor(1024 / lenbyt));

Please login to add a comment or rating.
Updates
19 May 2009

Data files have been added to the example.

Tag Activity for this File
Tag Applied By Date/Time
data export Bill Baxter 05 Feb 2009 16:20:56
data import Bill Baxter 05 Feb 2009 16:20:56
image processing Bill Baxter 05 Feb 2009 16:20:56

Contact us at files@mathworks.com