概述
FIBSEM导入机能够读取Janelia农场的FIB-SEM生成的图像文件。它可以通过以下方式使用:
- 拖放
- File › New › Script
这将被打开为范围从 0 到 65535 的无符号 16 位数据,其中 0 对应于 -10 伏的检测器电压,65535 对应于 +10 伏的电压。它会自动设置图像中的像素分辨率。
要访问所有其他元数据,请参阅下面的特殊选项段落。
特殊选项
将图像打开为浮动图像
将图像作为浮点数打开而不是将其转换为无符号短整型可能是有意义的。,可以使用脚本编辑器在FIBSEM导入器中设置一个开关:
- File › Import › FIB-SEM …
- Language › Beanshell
- 输入以下行
import io.FIBSEM_Reader; FIBSEM_Reader.openAsFloat = true; - 单击运行
从现在开始,当前运行的斐济实例的每个FIBSEM图像都将浮点形式打开,浮点值直接代表每个像素的测量电压。
访问完整的元数据
为了访问完整的元数据,您必须创建 FIBSEM 导入器的新实例,加载数据集,请求元数据对象。以下是如何使用脚本编辑器和 Beanshell 语言执行此操作的代码(参见下文):
import io.FIBSEM_Reader;
import io.FIBSEM_Reader.FIBSEMData;
// open the file
FIBSEM_Reader reader = new FIBSEM_Reader();
reader.run( "/Users/preibischs/Desktop/Zeiss_12-01-14_210123.dat" );
// get the metadata
FIBSEMData metadata = reader.getHeader();
// print all data into the log window
IJ.log( "" + metadata );
// print a single field
IJ.log( "The resolution of the image is " + metadata.xRes + " x " + metadata.yRes + " pixels." );
您将在下面找到FIBSEMData所有字段的完整列表,即您可以访问的所有元数据信息:
/* the magic number identifying the file, should be 3555587570 */
public long magicNumber;
/* the version of the file, supported until now is 1,2,3 */
public int fileVersion;
/* file type, 1 is Zeiss Neon detectors */
public int fileType;
/* AI sampling time (including oversampling) in seconds */
public double timeStep;
/* the number of channels */
public int numChannels;
/* the parameters required to transform the 16 bit signed signal back to volts:
* volts = offset + intensity*gain
* (we ignore second and third order as they are zero anyways)
*/
public float[] offset, gain, secondOrder, thirdOrder;
/* number of pixels in x per channel */
public long xRes;
/* number of pixels in y per channel */
public long yRes;
/* AI oversampling */
public int oversampling;
/* Read AI delay (# of samples) - only v3*/
public int AIdelay = 0;
/* Scan speed (Zeiss #) */
public int zeissScanSpeed;
/* Actual AO (scanning) rate */
public double scanRate;
/* Frameline rampdown ratio */
public double framelineRampdownRatio;
/* X coil minimum voltage */
public double xMin;
/* X coil maximum voltage */
public double xMax;
/* Detector minimum voltage */
public double detMin;
/* Detector maximum voltage */
public double detMax;
/* AI Ch1 */
public int AI1;
/* AI Ch2 */
public int AI2;
/* AI Ch3 */
public int AI3;
/* AI Ch4 */
public int AI4;
/* notes */
public String notes;
/* Name of detector A */
public String detectorA = "";
/* Name of detector B */
public String detectorB = "";
/* Name of detector C */
public String detectorC = "";
/* Name of detector D */
public String detectorD = "";
/* Magnification */
public double magnification;
/* Pixel size in nm */
public double pixelSize;
/* Working distance in mm */
public double wd;
/* EHT in kV */
public double eht;
/* SEM aperture number */
public int semApr;
/* high current mode (1=on, 0=off) */
public int highCurrent;
/* FIB mode: 0=SEM, 1=FIB, 2=Milling, 3=SEM+FIB, 4=Mill+SEM, 5=SEM Drift Correction, 6=FIB Drift Correction, 7=No Beam, 8=External, 9=External+SEM */
public int mode;
/* SEM probe current in A */
public double semCurr;
/* SEM scan roation in degree */
public double semRot;
/* Chamber Vacuum */
public double chamVac;
/* Gun vacuum */
public double gunVac;
/* SEM beam shift X */
public double semShiftX;
/* SEM beam shift Y */
public double semShiftY;
/* SEM stigmation X */
public double semStiX;
/* SEM stigmation Y */
public double semStiY;
/* SEM aperture alignment X */
public double semAlnX;
/* SEM aperture alignment Y */
public double semAlnY;
/* Stage position X in mm */
public double stageX;
/* Stage position Y in mm */
public double stageY;
/* Stage position Z in mm */
public double stageZ;
/* Stage position T in degree */
public double stageT;
/* Stage position R in degree */
public double stageR;
/* Stage position M in mm */
public double stageM;
/* Detector A brightness (%) */
public double brightnessA;
/* Detector A contrast (%) */
public double contrastA;
/* Detector B brightness (%) */
public double brightnessB;
/* Detector B contrast (%) */
public double contrastB;
/* FIB focus in kV */
public double fibFocus;
/* FIB probe number */
public int fibProb;
/* FIB emission current */
public double fibCurr;
/* FIB scan rotation */
public double fibRot;
/* FIB aperture alignment X */
public double fibAlnX;
/* FIB aperture alignment Y */
public double fibAlnY;
/* FIB stigmation X */
public double fibStiX;
/* FIB stigmation Y */
public double fibStiY;
/* FIB beam shift X in micron */
public double fibShiftX;
/* FIB beam shift Y in micron */
public double fibShiftY;
/* name of the machine */
public String machineID;
/* file length in bytes */
public long fileLength;