Hi Zhenyu,
are you talking Macro or Java/Plugin code?
ImageJ is slighltly less "automated" than MatLab here, but in a plugin you
can get a reference to the image data
as a 1D array (getPixels()) and convert it to any nD-matrix structure you
like with a simple loop or work directly on the
data using proper indexing.
General Matrix processing again is not a part of ImageJ, but there are a
zillion of free Java packages (MTFMatrix, JAMA, ....)
that can be integrated easily!
Sincerely
Joachim
ImageJ Interest Group <
[hidden email]> schrieb am 24.06.2008 06:21:56:
> Dear all,
>
> Could I read an image and convert image into a matrix, and then perform
> some calculation on the matrix. I know that Matlab Image Processing
> Toolbox can read an image into a metrice using A=imread() function.
> Could ImageJ perfom similarly?
>
> Thanks!
>
> Zhengyu
> > g Global Research Center
> >
> > ______________________________________________________________________
> >
> > Zhengyu Pang, Ph.D.
> Bioanalytics and Protein Science Laboratory
> Biosciences Global Technology Organization
> > One Research Circle, K1 5B37A
> > Niskayuna, NY12309
> > *
[hidden email]
> > *(518) 387-4015
> >
> >
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________