Hi Geng Pan
First convert the two images to separate single channel (greyscale) images.
Coloc2 doesn't know how to use rgb type images yet.
Do ask these type of questions on the imagej mailing list for best chance
of a response. I'm not always directly available these days.
Best
Dan
cheers, Dan
http://chalkie.org.ukOn 31 Oct 2014 02:20, "Geng Pan" <
[hidden email]> wrote:
> Hi Daniel,
>
> This is Geng Pan at Zhejiang Univ.. I am using coloc 2 which comes with
> FIJI to analyse two tiff file. After I click OK of coloc2 GUI the following
> message comes out and I do not know what it means and how to fix it. If
> possible can you please let me know what is wrong of the way I use coloc2.
>
> (Fiji Is Just) ImageJ 2.0.0-rc-15/1.49j10; Java 1.6.0_65 [64-bit]; Mac OS
> X 10.10; 60MB of 5339MB (1%)
>
> java.lang.ClassCastException: net.imglib2.type.numeric.ARGBType cannot be
> cast to net.imglib2.type.numeric.RealType
> at
> net.imglib2.algorithm.math.ImageStatistics.getImageMean(ImageStatistics.java:82)
> at
> gadgets.DataContainer.calculateStatistics(DataContainer.java:175)
> at gadgets.DataContainer.<init>(DataContainer.java:171)
> at Coloc_2.colocalise(Coloc_2.java:404)
> at Coloc_2.run(Coloc_2.java:160)
> at ij.IJ.runUserPlugIn(IJ.java:202)
> at ij.IJ.runPlugIn(IJ.java:166)
> at ij.Executer.runCommand(Executer.java:131)
> at ij.Executer.run(Executer.java:64)
> at java.lang.Thread.run(Thread.java:695)
>
>
> Sincerely
>
> Geng
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html