Skip to content

Commit

Permalink
rm comment
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud committed Oct 17, 2024
1 parent 6652e26 commit 1b3794c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/net/clesperanto/Imglib2ClesperantoJExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,12 @@ public static void main(String[] args) {
Img<FloatType> output_img = ArrayImgs.floats(out, new long[] { 3, 3, 2 });

ArrayJ input = ImgLib2Converters.copyImgLib2ToArrayJ(input_img, currentDevice, MemoryType.BUFFER);
// ArrayJ output = ImgLib2Converters.copyImgLib2ToArrayJ(output_img,
// currentDevice, "buffer");

ArrayJ output = Tier1.absolute(currentDevice, input, null);

System.out.println("Input:" + input.toString());
System.out.println("Output:" + output.toString());

output_img = ImgLib2Converters.copyArrayJToImgLib2(output);

output_img.cursor().forEachRemaining(t -> System.out.println(t.get()));

Float sum = Tier2.sumOfAllPixels(currentDevice, output);
Expand Down

0 comments on commit 1b3794c

Please sign in to comment.