Hi Sharanbabuk,
> Below is the code that im using and need your help if it proper or
> need to be changed for imagej 2.0
>
> /*Image processing*/
> Opener opener = new Opener();
> String imageFilePath = "path";
> ImagePlus imp = opener.openImage(imageFilePath);
The ImageJ2 API is completely different:
final ImageJ ij = new ImageJ();
String imageFilePath = "path";
final Dataset dataset = ij.dataset().open(imageFilePath);
ij.ui().show(dataset);
See this tutorial for further details:
https://github.com/imagej/imagej-tutorials/tree/master/load-and-display-datasetRegards,
Curtis
On Fri, Jan 10, 2014 at 3:54 PM, sharanbabuk <
[hidden email]> wrote:
> Hello,
>
> I build a plugin in imagej 1.x version api and it uses imageplus to open
> the
> images through plugin. When I deploy same plugin in ImageJ 2.0 Alpha
> version, plugin works fine but images doesn't pop-up. I presume that
> problem
> is straight in Imageplus class when associated with ImageJ 2.0 version.
> Below is the code that im using and need your help if it proper or need to
> be changed for imagej 2.0
>
> /*Image processing*/
> Opener opener = new Opener();
> String imageFilePath = "path";
> ImagePlus imp = opener.openImage(imageFilePath);
>
>
>
> --
> View this message in context:
>
http://imagej.1557.x6.nabble.com/Imageplus-alternative-in-ImageJ-2-0-version-tp5006088.html> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html