Skip to content

Instantly share code, notes, and snippets.

@gab1one
Created August 31, 2015 14:32
Show Gist options
  • Save gab1one/52e7ea500b68ed473fa1 to your computer and use it in GitHub Desktop.
Save gab1one/52e7ea500b68ed473fa1 to your computer and use it in GitHub Desktop.
imagej-ops test error
java.lang.IllegalArgumentException: No matching 'net.imagej.ops.Ops$Create$Img' op
Request:
- net.imagej.ops.Ops$Create$Img(
FloatType,
ArrayImgFactory,
long[])
Candidates:
1. (Img output) =
net.imagej.ops.create.img.CreateImgFromInterval(
==> Interval interval,
Type outType?,
ImgFactory fac?)
Inconvertible type: net.imglib2.type.numeric.real.FloatType => interface net.imglib2.Interval
2. (Img out) =
net.imagej.ops.create.img.CreateImgFromImg(
Img in)
Too many arguments: 3 > 1
3. (Img output) =
net.imagej.ops.create.img.DefaultCreateImg(
==> Dimensions dims,
Object outType?,
ImgFactory fac?)
Inconvertible type: net.imglib2.type.numeric.real.FloatType => interface net.imglib2.Dimensions
at net.imagej.ops.DefaultOpMatchingService.findModule(DefaultOpMatchingService.java:108)
at net.imagej.ops.DefaultOpService.module(DefaultOpService.java:140)
at net.imagej.ops.DefaultOpService.run(DefaultOpService.java:106)
at net.imagej.ops.create.CreateNamespace.img(CreateNamespace.java:70)
at net.imagej.ops.filter.FFTTest.testFastFFT3DOp(FFTTest.java:104)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment