File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/ai/nets/samj/models Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments