Skip to content

Commit

Permalink
Merge pull request #59 from clEsperanto/add-deprecated-tag
Browse files Browse the repository at this point in the history
update tiers with deprecated
  • Loading branch information
StRigaud authored Aug 23, 2024
2 parents 53e944d + 570ae8c commit 369e1d8
Show file tree
Hide file tree
Showing 17 changed files with 87 additions and 0 deletions.
3 changes: 3 additions & 0 deletions native/clesperantoj/include/kernelj.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/*
* This file is autogenerated. Do not edit manually.
*/
#ifndef __INCLUDE_KERNEL_HPP
#define __INCLUDE_KERNEL_HPP

Expand Down
3 changes: 3 additions & 0 deletions native/clesperantoj/src/tier1j.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/*
* This file is autogenerated. Do not edit manually.
*/
#include "kernelj.hpp"
#include "tier1.hpp"

Expand Down
3 changes: 3 additions & 0 deletions native/clesperantoj/src/tier2j.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/*
* This file is autogenerated. Do not edit manually.
*/
#include "kernelj.hpp"
#include "tier2.hpp"

Expand Down
3 changes: 3 additions & 0 deletions native/clesperantoj/src/tier3j.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/*
* This file is autogenerated. Do not edit manually.
*/
#include "kernelj.hpp"
#include "tier3.hpp"

Expand Down
3 changes: 3 additions & 0 deletions native/clesperantoj/src/tier4j.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/*
* This file is autogenerated. Do not edit manually.
*/
#include "kernelj.hpp"
#include "tier4.hpp"

Expand Down
3 changes: 3 additions & 0 deletions native/clesperantoj/src/tier5j.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/*
* This file is autogenerated. Do not edit manually.
*/
#include "kernelj.hpp"
#include "tier5.hpp"

Expand Down
3 changes: 3 additions & 0 deletions native/clesperantoj/src/tier6j.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/*
* This file is autogenerated. Do not edit manually.
*/
#include "kernelj.hpp"
#include "tier6.hpp"

Expand Down
3 changes: 3 additions & 0 deletions native/clesperantoj/src/tier7j.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/*
* This file is autogenerated. Do not edit manually.
*/
#include "kernelj.hpp"
#include "tier7.hpp"

Expand Down
3 changes: 3 additions & 0 deletions native/clesperantoj/src/tier8j.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/*
* This file is autogenerated. Do not edit manually.
*/
#include "kernelj.hpp"
#include "tier8.hpp"

Expand Down
27 changes: 27 additions & 0 deletions src/main/java/net/clesperanto/kernels/Tier1.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/**
* This file is autogenerated. Do not edit manually.
*/
package net.clesperanto.kernels;

import java.util.Objects;
Expand Down Expand Up @@ -372,6 +375,7 @@ public static ArrayJ detectLabelEdges(DeviceJ device, ArrayJ input, ArrayJ outpu
* @see https://clij.github.io/clij2-docs/reference_dilateBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ dilateBox(DeviceJ device, ArrayJ input, ArrayJ output) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -389,6 +393,7 @@ public static ArrayJ dilateBox(DeviceJ device, ArrayJ input, ArrayJ output) {
* @see https://clij.github.io/clij2-docs/reference_dilateSphere
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ dilateSphere(DeviceJ device, ArrayJ input, ArrayJ output) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -498,6 +503,7 @@ public static ArrayJ equalConstant(DeviceJ device, ArrayJ input, ArrayJ output,
* @see https://clij.github.io/clij2-docs/reference_erodeBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ erodeBox(DeviceJ device, ArrayJ input, ArrayJ output) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -515,6 +521,7 @@ public static ArrayJ erodeBox(DeviceJ device, ArrayJ input, ArrayJ output) {
* @see https://clij.github.io/clij2-docs/reference_erodeSphere
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ erodeSphere(DeviceJ device, ArrayJ input, ArrayJ output) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -773,6 +780,7 @@ public static ArrayList<ArrayJ> hessianEigenvalues(DeviceJ device, ArrayJ input,
* @see https://clij.github.io/clij2-docs/reference_laplaceBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ laplaceBox(DeviceJ device, ArrayJ input, ArrayJ output) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -788,6 +796,7 @@ public static ArrayJ laplaceBox(DeviceJ device, ArrayJ input, ArrayJ output) {
* @see https://clij.github.io/clij2-docs/reference_laplaceDiamond
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ laplaceDiamond(DeviceJ device, ArrayJ input, ArrayJ output) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -929,6 +938,7 @@ public static ArrayJ maximumImages(DeviceJ device, ArrayJ input0, ArrayJ input1,
* @see https://clij.github.io/clij2-docs/reference_maximum3DBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ maximumBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -1014,6 +1024,7 @@ public static ArrayJ maximumZProjection(DeviceJ device, ArrayJ input, ArrayJ out
* @see https://clij.github.io/clij2-docs/reference_mean3DBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ meanBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -1033,6 +1044,7 @@ public static ArrayJ meanBox(DeviceJ device, ArrayJ input, ArrayJ output, int ra
* @see https://clij.github.io/clij2-docs/reference_mean3DSphere
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ meanSphere(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -1118,6 +1130,7 @@ public static ArrayJ meanZProjection(DeviceJ device, ArrayJ input, ArrayJ output
* @see https://clij.github.io/clij2-docs/reference_median3DBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ medianBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -1138,6 +1151,7 @@ public static ArrayJ medianBox(DeviceJ device, ArrayJ input, ArrayJ output, int
* @see https://clij.github.io/clij2-docs/reference_median3DSphere
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ medianSphere(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -1179,6 +1193,7 @@ public static ArrayJ median(DeviceJ device, ArrayJ input, ArrayJ output, int rad
* @see https://clij.github.io/clij2-docs/reference_minimum3DBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ minimumBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -1301,6 +1316,7 @@ public static ArrayJ minimumZProjection(DeviceJ device, ArrayJ input, ArrayJ out
* @return {@link ArrayJ}
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ modeBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -1322,6 +1338,7 @@ public static ArrayJ modeBox(DeviceJ device, ArrayJ input, ArrayJ output, int ra
* @return {@link ArrayJ}
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ modeSphere(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -1452,6 +1469,7 @@ public static ArrayJ nanToNum(DeviceJ device, ArrayJ input, ArrayJ output, float
* @see https://clij.github.io/clij2-docs/reference_nonzeroMaximumBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ nonzeroMaximumBox(DeviceJ device, ArrayJ input, ArrayJ output0, ArrayJ output1) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -1471,6 +1489,7 @@ public static ArrayJ nonzeroMaximumBox(DeviceJ device, ArrayJ input, ArrayJ outp
* @see https://clij.github.io/clij2-docs/reference_nonzeroMaximumDiamond
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ nonzeroMaximumDiamond(DeviceJ device, ArrayJ input, ArrayJ output0, ArrayJ output1) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -1512,6 +1531,7 @@ public static ArrayJ nonzeroMaximum(DeviceJ device, ArrayJ input, ArrayJ output0
* @see https://clij.github.io/clij2-docs/reference_nonzeroMinimumBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ nonzeroMinimumBox(DeviceJ device, ArrayJ input, ArrayJ output0, ArrayJ output1) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -1531,6 +1551,7 @@ public static ArrayJ nonzeroMinimumBox(DeviceJ device, ArrayJ input, ArrayJ outp
* @see https://clij.github.io/clij2-docs/reference_nonzeroMinimumDiamond
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ nonzeroMinimumDiamond(DeviceJ device, ArrayJ input, ArrayJ output0, ArrayJ output1) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -1622,6 +1643,7 @@ public static ArrayJ paste(DeviceJ device, ArrayJ input, ArrayJ output, int inde
* @see https://clij.github.io/clij2-docs/reference_onlyzeroOverwriteMaximumBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ onlyzeroOverwriteMaximumBox(DeviceJ device, ArrayJ input, ArrayJ output0, ArrayJ output1) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -1638,6 +1660,7 @@ public static ArrayJ onlyzeroOverwriteMaximumBox(DeviceJ device, ArrayJ input, A
* @see https://clij.github.io/clij2-docs/reference_onlyzeroOverwriteMaximumDiamond
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ onlyzeroOverwriteMaximumDiamond(DeviceJ device, ArrayJ input, ArrayJ output0, ArrayJ output1) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -1787,6 +1810,7 @@ public static ArrayJ replaceValue(DeviceJ device, ArrayJ input, ArrayJ output, f
* @see https://clij.github.io/clij2-docs/reference_maximum3DSphere
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ maximumSphere(DeviceJ device, ArrayJ input, ArrayJ output, float radius_x, float radius_y, float radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -1806,6 +1830,7 @@ public static ArrayJ maximumSphere(DeviceJ device, ArrayJ input, ArrayJ output,
* @see https://clij.github.io/clij2-docs/reference_minimum3DSphere
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ minimumSphere(DeviceJ device, ArrayJ input, ArrayJ output, float radius_x, float radius_y, float radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -2318,6 +2343,7 @@ public static ArrayJ undefinedToZero(DeviceJ device, ArrayJ input, ArrayJ output
* @see https://clij.github.io/clij2-docs/reference_varianceBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ varianceBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -2338,6 +2364,7 @@ public static ArrayJ varianceBox(DeviceJ device, ArrayJ input, ArrayJ output, in
* @see https://clij.github.io/clij2-docs/reference_varianceSphere
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ varianceSphere(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/net/clesperanto/kernels/Tier2.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/**
* This file is autogenerated. Do not edit manually.
*/
package net.clesperanto.kernels;

import java.util.Objects;
Expand Down Expand Up @@ -62,6 +65,7 @@ public static ArrayJ addImages(DeviceJ device, ArrayJ input0, ArrayJ input1, Arr
* @see https://clij.github.io/clij2-docs/reference_bottomHatBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ bottomHatBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -80,6 +84,7 @@ public static ArrayJ bottomHatBox(DeviceJ device, ArrayJ input, ArrayJ output, i
* @see https://clij.github.io/clij2-docs/reference_bottomHatSphere
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ bottomHatSphere(DeviceJ device, ArrayJ input, ArrayJ output, float radius_x, float radius_y, float radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -136,6 +141,7 @@ public static ArrayJ clip(DeviceJ device, ArrayJ input, ArrayJ output, float min
* @return {@link ArrayJ}
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ closingBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -154,6 +160,7 @@ public static ArrayJ closingBox(DeviceJ device, ArrayJ input, ArrayJ output, int
* @return {@link ArrayJ}
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ closingSphere(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -310,6 +317,7 @@ public static ArrayJ degreesToRadians(DeviceJ device, ArrayJ input, ArrayJ outpu
* @see https://clij.github.io/clij2-docs/reference_detectMaximaBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ detectMaximaBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -350,6 +358,7 @@ public static ArrayJ detectMaxima(DeviceJ device, ArrayJ input, ArrayJ output, i
* @see https://clij.github.io/clij2-docs/reference_detectMinimaBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ detectMinimaBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -522,6 +531,7 @@ public static float minimumOfMaskedPixels(DeviceJ device, ArrayJ input, ArrayJ m
* @return {@link ArrayJ}
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ openingBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -540,6 +550,7 @@ public static ArrayJ openingBox(DeviceJ device, ArrayJ input, ArrayJ output, int
* @return {@link ArrayJ}
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ openingSphere(DeviceJ device, ArrayJ input, ArrayJ output, float radius_x, float radius_y, float radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -656,6 +667,7 @@ public static ArrayJ squaredDifference(DeviceJ device, ArrayJ input0, ArrayJ inp
* @see https://clij.github.io/clij2-docs/reference_standardDeviationBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ standardDeviationBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -676,6 +688,7 @@ public static ArrayJ standardDeviationBox(DeviceJ device, ArrayJ input, ArrayJ o
* @see https://clij.github.io/clij2-docs/reference_standardDeviationSphere
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ standardDeviationSphere(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down Expand Up @@ -767,6 +780,7 @@ public static float sumOfAllPixels(DeviceJ device, ArrayJ input) {
* @see https://clij.github.io/clij2-docs/reference_topHatBox
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ topHatBox(DeviceJ device, ArrayJ input, ArrayJ output, int radius_x, int radius_y, int radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand All @@ -785,6 +799,7 @@ public static ArrayJ topHatBox(DeviceJ device, ArrayJ input, ArrayJ output, int
* @see https://clij.github.io/clij2-docs/reference_topHatSphere
* @throws NullPointerException if any of the device or input parameters are null.
*/
@Deprecated
public static ArrayJ topHatSphere(DeviceJ device, ArrayJ input, ArrayJ output, float radius_x, float radius_y, float radius_z) {
Objects.requireNonNull(device, "device cannot be null");
Objects.requireNonNull(input, "input cannot be null");
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/net/clesperanto/kernels/Tier3.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/**
* This file is autogenerated. Do not edit manually.
*/
package net.clesperanto.kernels;

import java.util.Objects;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/net/clesperanto/kernels/Tier4.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/**
* This file is autogenerated. Do not edit manually.
*/
package net.clesperanto.kernels;

import java.util.Objects;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/net/clesperanto/kernels/Tier5.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

/**
* This file is autogenerated. Do not edit manually.
*/
package net.clesperanto.kernels;

import java.util.Objects;
Expand Down
Loading

0 comments on commit 369e1d8

Please sign in to comment.