@@ -4,7 +4,8 @@ using Compat
44
55export AF_BACKEND_CPU, AF_BACKEND_CUDA, AF_BACKEND_DEFAULT, AF_BACKEND_OPENCL, AF_BINARY_ADD, AF_BINARY_MAX
66export AF_BINARY_MIN, AF_BINARY_MUL, AF_CANNY_THRESHOLD_AUTO_OTSU, AF_CANNY_THRESHOLD_MANUAL, AF_COLORMAP_BLUE
7- export AF_COLORMAP_COLORS, AF_COLORMAP_DEFAULT, AF_COLORMAP_HEAT, AF_COLORMAP_MOOD, AF_COLORMAP_RED, AF_COLORMAP_SPECTRUM
7+ export AF_COLORMAP_COLORS, AF_COLORMAP_DEFAULT, AF_COLORMAP_HEAT, AF_COLORMAP_INFERNO, AF_COLORMAP_MAGMA
8+ export AF_COLORMAP_MOOD, AF_COLORMAP_PLASMA, AF_COLORMAP_RED, AF_COLORMAP_SPECTRUM, AF_COLORMAP_VIRIDIS
89export AF_CONNECTIVITY_4, AF_CONNECTIVITY_8, AF_CONV_AUTO, AF_CONV_DEFAULT, AF_CONV_EXPAND, AF_CONV_FREQ
910export AF_CONV_SPATIAL, AF_DIFFUSION_DEFAULT, AF_DIFFUSION_GRAD, AF_DIFFUSION_MCDE, AF_ERR_ARG, AF_ERR_ARR_BKND_MISMATCH
1011export AF_ERR_BATCH, AF_ERR_DEVICE, AF_ERR_DIFF_TYPE, AF_ERR_DRIVER, AF_ERR_INTERNAL, AF_ERR_INVALID_ARRAY
@@ -253,6 +254,10 @@ const AF_COLORMAP_RED = (UInt32)(3)
253254const AF_COLORMAP_MOOD = (UInt32)(4 )
254255const AF_COLORMAP_HEAT = (UInt32)(5 )
255256const AF_COLORMAP_BLUE = (UInt32)(6 )
257+ const AF_COLORMAP_INFERNO = (UInt32)(7 )
258+ const AF_COLORMAP_MAGMA = (UInt32)(8 )
259+ const AF_COLORMAP_PLASMA = (UInt32)(9 )
260+ const AF_COLORMAP_VIRIDIS = (UInt32)(10 )
256261# end enum af_colormap
257262
258263# begin enum af_marker_type
@@ -297,8 +302,8 @@ const AF_DIFFUSION_DEFAULT = (UInt32)(0)
297302
298303# begin enum af_topk_function
299304const af_topk_function = UInt32
300- const AF_TOPK_MAX = (UInt32)(1 )
301- const AF_TOPK_MIN = (UInt32)(2 )
305+ const AF_TOPK_MIN = (UInt32)(1 )
306+ const AF_TOPK_MAX = (UInt32)(2 )
302307const AF_TOPK_DEFAULT = (UInt32)(0 )
303308# end enum af_topk_function
304309
0 commit comments