Skip to content

Commit b11406f

Browse files
committed
change visibility
1 parent 2162863 commit b11406f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/ai/nets/samj/models/PythonMethods.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class PythonMethods {
3030
/**
3131
* String containing the Python methods needed to find the border of binary masks
3232
*/
33-
protected static String TRACE_EDGES = ""
33+
public static String TRACE_EDGES = ""
3434
+ "def is_edge_pixel(image, cx,cy):" + System.lineSeparator()
3535
+ " # assuming image[cy,cx] != 0" + System.lineSeparator()
3636
+ " h,w = image.shape" + System.lineSeparator()
@@ -111,7 +111,7 @@ public class PythonMethods {
111111
* String containing a Python method to encode binary masks into a compressed object using the
112112
* Run-Length Encoding (RLE) algorithm
113113
*/
114-
protected static String RLE_METHOD = ""
114+
public static String RLE_METHOD = ""
115115
+ "def encode_rle(mask):" + System.lineSeparator()
116116
+ " \"\"\"" + System.lineSeparator()
117117
+ " Encode a binary mask using Run-Length Encoding (RLE)." + System.lineSeparator()

0 commit comments

Comments
 (0)