我知道有一个ImageJ插件处理NIfTI-1文件(http://rsb.info.nih.gov/ij/plugins/nifti.html)。知道什么方法在.jar文件
但是该页面上的所有说明都是使用ImageJ作为独立程序,但是我正在使用它的API。我怎样才能知道这个jar文件没有它的源文件有什么方法可用?
我也找不到源代码。
对于ImageJ的(如DICOM)支持的档案是很容易的:
public class ImageJTest {
public static void main(){
String path = "res/vaca.dcm";
FileInputStream fis;
ImageView image;
try {
fis = new FileInputStream(path);
DICOM d = new DICOM(fis);
d.run(path);
// Stretches the histogram because the pictures were being
// displayed too dark.
(new ij.plugin.ContrastEnhancer()).stretchHistogram(d, 0.1);
Image picture = SwingFXUtils.toFXImage(d.getBufferedImage(),
null);
// Makes the size standard for thumbnails
image = new ImageView(picture);
} catch (FileNotFoundException e) {
e.printStackTrace();
}
}
}
我如何可以加载ImageJ中的NIfTI-1文件?
Erreur 403 - Refuter de traitement de larequête(Interdit - Forbidden) – Mansueli
你也可以从这里得到它。 http://www.softpedia.com/get/Programming/Debuggers-Decompilers-Dissasemblers/JD-GUI.shtml – simion