Skip to content

Commit 9769e84

Browse files
committed
Fixed several minor problems in OrientationJ
mainly node docu & views
1 parent 75e1d64 commit 9769e84

3 files changed

Lines changed: 14 additions & 12 deletions

File tree

org.knime.knip.base/src/org/knime/knip/base/nodes/orientationj/measure/Measure.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
package org.knime.knip.base.nodes.orientationj.measure;
5050

5151
import org.scijava.plugin.Parameter;
52-
import org.scijava.plugin.Plugin;
5352

5453
import net.imagej.ops.Contingent;
5554
import net.imagej.ops.Op;
@@ -76,8 +75,7 @@
7675
* @author Simon Schmid, University of Konstanz, Germany
7776
* @param <T>
7877
*/
79-
@Plugin(type = Op.class)
80-
public class Measure<T extends RealType<T>> extends AbstractUnaryFunctionOp<RandomAccessibleInterval<T>, double[]>
78+
class Measure<T extends RealType<T>> extends AbstractUnaryFunctionOp<RandomAccessibleInterval<T>, double[]>
8179
implements Contingent {
8280

8381
@Parameter

org.knime.knip.base/src/org/knime/knip/base/nodes/orientationj/measure/OrientationJMeasurementNodeFactory.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@
6363
public final class OrientationJMeasurementNodeFactory<T extends RealType<T>>
6464
extends ValueToCellsNodeFactory<ImgPlusValue<T>> {
6565

66-
@Override
67-
protected int getNrNodeViews() {
68-
return 0;
69-
}
70-
7166
/**
7267
* {@inheritDoc}
7368
*/

org.knime.knip.base/src/org/knime/knip/base/nodes/orientationj/measure/OrientationJMeasurementNodeFactory.xml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<knimeNode type="Manipulator" icon="orientationj_measure.png">
44
<name>OrientationJ Measurement</name>
55
<shortDescription>Extracts the features energy, orientation
6-
and coherency from images.</shortDescription>
6+
and
7+
coherency from images.</shortDescription>
78
<fullDescription>
89
<intro>
910
This node performs quantitative orientation measurements according to
@@ -20,10 +21,13 @@
2021
href="http://bigwww.epfl.ch/demo/orientation/theoretical-background.pdf">here</a>
2122
.
2223
<br />
23-
A Laplacian of Gaussian filtering can be applied as an preprocesing step to the images.
24+
A Laplacian of Gaussian filtering can be applied as an preprocesing
25+
step to the images.
2426
<br />
2527
Input must be images with only two dimensions. If needed, images can
26-
be sliced with the <i>Image Cropper</i> node.
28+
be sliced with the
29+
<i>Image Cropper</i>
30+
node.
2731
</intro>
2832
<tab name="Options">
2933
<option name="Laplacian of Gaussian (sigma)">
@@ -48,11 +52,16 @@
4852

4953
<ports>
5054
<inPort index="0" name="Input table">
51-
Input table containing a column with images.
55+
Input table containing a column with
56+
images.
5257
</inPort>
5358
<outPort index="0" name="Output table">
5459
Output table with the selected
5560
features.
5661
</outPort>
5762
</ports>
63+
64+
<views>
65+
<view index="0" name="Image Viewer">Image Viewer</view>
66+
</views>
5867
</knimeNode>

0 commit comments

Comments
 (0)