You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Matlab to load labkit-command-line-0.1.4.jar and have a demo test:
afn_Classifier = 'D:\drosophila.classifier';
Context= org.scijava.Context(true);
aSegmenter = sc.fiji.labkit.ui.segmentation.weka.TrainableSegmentationSegmenter(Context);
aSegmenter.openModel(afn_Classifier); % error take place in this line
Java exception occurred:
org.scijava.NoSuchServiceException: Service net.imagej.ops.OpService not found.
at org.scijava.Context.service(Context.java:316)
at sc.fiji.labkit.pixel_classification.pixel_feature.settings.FeatureSetting.newInstance(FeatureSetting.java:128)
at sc.fiji.labkit.pixel_classification.pixel_feature.calculator.FeatureCalculator.lambda$new$0(FeatureCalculator.java:81)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at sc.fiji.labkit.pixel_classification.pixel_feature.calculator.FeatureCalculator.<init>(FeatureCalculator.java:81)
at sc.fiji.labkit.pixel_classification.classification.Segmenter.<init>(Segmenter.java:96)
at sc.fiji.labkit.pixel_classification.classification.Segmenter.fromJson(Segmenter.java:243)
at sc.fiji.labkit.ui.segmentation.weka.TrainableSegmentationSegmenter.openModel(TrainableSegmentationSegmenter.java:306)
Indeed I could find the class net.imagej.ops.OpService inside the jar file, but it says cannot find.
Is there something wrong with the matlab code?
The text was updated successfully, but these errors were encountered:
I am using Matlab to load labkit-command-line-0.1.4.jar and have a demo test:
Java exception occurred:
org.scijava.NoSuchServiceException: Service net.imagej.ops.OpService not found.
Indeed I could find the class net.imagej.ops.OpService inside the jar file, but it says cannot find.
Is there something wrong with the matlab code?
The text was updated successfully, but these errors were encountered: