Java Code Examples for net.imglib2.type.numeric.integer.ByteType#inc()
The following examples show how to use
net.imglib2.type.numeric.integer.ByteType#inc() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MapNeighborhoodTest.java From imagej-ops with BSD 2-Clause "Simplified" License | 6 votes |
@Override public void compute(final Iterable<ByteType> neighborhood, final ByteType center, final ByteType output) { ByteType a = center; a.set((byte) 0); output.set((byte) 0); for (Iterator<ByteType> iter = neighborhood.iterator(); iter.hasNext(); iter .next()) { output.inc(); a.inc(); } }
Example 2
Source File: MapNeighborhoodTest.java From imagej-ops with BSD 2-Clause "Simplified" License | 5 votes |
@Override public void compute(final Iterable<ByteType> input, final ByteType output) { for (Iterator<ByteType> iter = input.iterator(); iter.hasNext(); iter .next()) { output.inc(); } }
Example 3
Source File: LoopTest.java From imagej-ops with BSD 2-Clause "Simplified" License | 4 votes |
@Override public void mutate(final ByteType arg) { arg.inc(); }
Example 4
Source File: LoopTest.java From imagej-ops with BSD 2-Clause "Simplified" License | 4 votes |
@Override public void compute(final ByteType input, final ByteType output) { output.set(input); output.inc(); }
Example 5
Source File: JoinTest.java From imagej-ops with BSD 2-Clause "Simplified" License | 4 votes |
@Override public void mutate(final ByteType arg) { arg.inc(); }
Example 6
Source File: JoinTest.java From imagej-ops with BSD 2-Clause "Simplified" License | 4 votes |
@Override public void compute(final ByteType input, final ByteType output) { output.set(input); output.inc(); }