質問

I want to read a .mnc file I've downloaded from http://brainweb.bic.mni.mcgill.ca/brainweb/. This file contains simulated data of MRI scanning of a human brain. What I want is, to read the file using java code and convert it into buffer image object so that I can process buffer image object.

役に立ちましたか?

解決

Bio-Formats can read MINC MRI files. Use BF.openImagePlus(String path) to open the file as an ImagePlus:

ImagePlus imp = BF.openImagePlus(path);

You can then use ImageJ to work with the pixel data (i.e. using an ImageProcessor or, if necessary, a BufferedImage).

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top