# Leaper Vision Toolkit

Convert images to desired formats or styles seamlessly. Enhance your applications with flexible image processing capabilities. Simplify image transformations through a standardized protocol interface.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add leaper-mcp/leaper-mcp-proxy

# Browse available tools
npx -y @smithery/cli@latest tool list leaper-mcp/leaper-mcp-proxy

# Get full schema for a tool
npx -y @smithery/cli@latest tool get leaper-mcp/leaper-mcp-proxy il_image_op_tile_x

# Call a tool
npx -y @smithery/cli@latest tool call leaper-mcp/leaper-mcp-proxy il_image_op_tile_x '{}'
```

## Direct MCP Connection

Endpoint: `https://leaper-mcp-proxy--leaper-mcp.run.tools`

## Tools (169)

- `il_image_op_tile_x` — 这个是将水平平铺一组图像，合成一张大尺寸图像的工具。输出一个新图像。
- `il_circle_region` — Create a circle region object. 创建一个圆形ROI区域对象。
- `il_image_op_scale_rotate` — 这个是缩放和旋转输入图像的工具。使用用户指定的锚点。若指定的结果图像对象为空图像，则生成和输入图像尺寸相同的图像。否则，将保持结果图像的尺寸，超出图像范围的像素设为背景像素（默认为黑色）。
- `il_image_morph_top_hat` — 这个是高帽工具。用于从输入图像中提取较小单元和细节。该工具等价于从原输入图像中减去开操作结果。
- `display_blob_analysis` — Display the blob analysis results. 这是针对斑点的图像的交互工具，并返回标记斑点后的图片。
- `il_histogram_build_items` — Build histogram from input image and region, output the pixel count for each bin.
- `il_image_filter_set_kernel_sigma` — 设置图像滤波工具的Sigma值和Gain值。
- `il_region_xor` — XOR two regions. 将当前ROI区域与输入的区域进行异或操作。
- `edge_filter_set_edge_kernel` — Set the kernel used in edge filtering of specified type and size.
- `il_image_filter_local_median` — 中值滤波，输出图像中的每个像素表示输入图像中这一局部区域中所有像素中的中值。
- `il_line_detector_set_max_count` — 设置直线定位工具所使用的最大检出个数，并返回设置完成的直线定位工具的功能调用的对象。
- `image_convert_gray_to_bgr` — Convert a grayscale image to a BGR color image
- `il_image_threshold_stretch` — Stretch the input image and output the result image. Each output pixel represents the difference between the greyscale …
- `il_rot_rect_region` — Create a rotated rectangle region object. 创建一个旋转矩形ROI区域对象。
- `edge_filter_new` — This interface provide functionalities of edge extraction.
- `image_set_channel` — 设置彩色图像中某一个给定索引的通道图像。仅用于彩色图像。
- `il_image_morph_erode` — 这个是腐蚀工具。输出结果中的每个像素为其结构元范围内邻域像素的灰度值中的最小值。
- `il_image_morph_top_bottom_hat` — 这个是高低帽工具。每个像素输出高帽结果或低帽结果中的最大值。
- `il_image_filter_edge_preserve_denoise` — 过滤图像噪声并保留边缘工具。
- `il_image_filter_mean_filter` — 均值滤波，输出像素中的每个像表示输入图像中这一局部区域中所有像素的均值。
- `il_image_op_split_x` — 这个是水平拆分一个图像的工具。为若干个小图 。
- `image_convert_normalize_to16` — 归一化输入图像到 16 位图
- `il_circle_detector` — 这个是个圆定位相关的初始化工具，初始化创建一个圆定位工具的功能调用的对象。
- `image_set_size` — 设置图像为指定尺寸。如果设置尺寸比原尺寸更大，像素的数值则会为随机，可调用 SetTo() 或 SetToColor() 接口将其全部设置为 0 或其他数值。
- `il_image_morph_bottom_hat` — ~english Bottom-hat operation tool. Erase small elements and details from given images. Bottom-hat operation is the equ…
- `il_mask_region` — Create a mask region object. 创建一个蒙版ROI区域对象。
- `il_circle_detector_set_max_count` — 设置圆定位工具所使用的最大检出个数，并返回设置完成的圆定位工具的功能调用的对象。
- `il_image_op_add_scalar` — 这个是将输入图像和一个标量逐像素相加的工具。输出一个新图像。
- `il_image_morph_set_morph_shape` — ~english Set the structuring element used in morphology operations with specified shape and size. Returns the configure…
- `edge_filter_gradient_h` — Horizontally oriented edges are represented by bright pixels.
- `il_image_op_sub_scalar` — 这个是将输入图像和一个标量逐像素相减的工具。输出一个新图像。
- `il_image_op_flip` — 这个是水平或垂直翻转一个图像的工具。若指定的结果图像对象为空图像，则生成和输入图像尺寸相同的图像。否则，将保持结果图像的尺寸，超出图像范围的像素设为背景像素（默认为黑色）。
- `il_image_morph_close` — 这个是闭操作工具。减少或消除输入图像中的较暗区域。闭操作等价于先膨胀再腐蚀。
- `il_image_threshold_binarize` — Binarize the input image and return the result new image. If the lower bound of threshold value is smaller than the upp…
- `il_image_op_tile_y` — 这个是将垂直平铺一组图像，合成一张大尺寸图像的工具。输出一个新图像。
- `il_image_op_resize` — 这个是缩放输入图像的工具。按照给定的缩放比例。若指定的结果图像对象为空图像，则生成和输入图像尺寸相同的图像。否则，将保持结果图像的尺寸，超出图像范围的像素设为背景像素（默认为黑色）。
- `image_compare_set_baseline` — Set the comparison baseline image (and mask).
- `il_image_op_add_weighted` — 这个是将两个图像逐像素相加的工具。输出一个新图像，两个输入图像的尺寸需相同、类型相同。
- `il_region_intersect` — Intersect two regions. 将当前ROI区域与输入的ROI区域进行并操作。
- `image_stats_mean_std_dev` — Calculate the mean and standard deviation of the input image.
- `get_tool_tree` — 获取工具节点和下一层子节点的工具名称的方法，每次调用仅获取一层子节点，主要用于列出某个模块的方法和获取所有方法列表。
- `image_compare_new` — This interface provide functionalities of image comparison on pixel level.
- `il_image_op_invert` — 这个是反转图像的工具。8 位图：I' = 255 - I，16 位图：I' = 65535 - I。
- `il_region_subtract` — Subtract one region from another. 从当前ROI区域中减去输入的ROI区域。
- `il_image_op_split` — 这个是按网格拆分一个图像的工具。为若干个小图 。
- `image_convert_gray_to_bgr_color` — 将灰度值转换为 BGR 颜色值
- `edge_filter_gradient_v` — Vertically oriented edges are represented by bright pixels.
- `il_image_op_blend` — 这个是将多帧图像融合用于将多张同一场景的图像融合为一张的工具。在不同的场景，通过使用不同的聚合方式达到不同目的。
- `image_convert_bgr_to_gray` — Convert a BGR color image to grayscale
- `il_image_op_normalize_mean_std_dev` — 这个是归一化输入图像，以当前图像的均值和标准差计算感兴趣的数值范围，拉伸到目标数值范围的工具。不改变图像位深，归一化后的结果图像与输入位深相同、通道数相同。对于彩色的多通道图像，输出也是彩色多通道图像，每个通道分别独立进行归一化。
- `image_convert_depth8_to16` — 转换 8 位图像到 16 位图像
- `image_set_to` — 将图像中给定区域内的像素设置为指定的灰度值。
- `il_circle_detector_set_polarity` — 设置圆定位工具所使用的检测的边缘极性，并返回设置完成的圆定位工具的功能调用的对象。
- `il_image_threshold_set_threshold_adapt_globald` — Use global-adaptive threshold value. The optimal threshold value is calculated base on the entire input image, then rev…
- `il_image_op_project_x` — 这个是水平投影图像的工具。聚合每一行上的像素。
- `pat_match_get_pat_image` — Get the pattern template image. 获取模板图像。
- `il_image_filter_gaussian` — 高斯滤波工具。
- `il_region_scale` — Scale a region while keeping the center point unchanged. 缩放当前ROI区域，生成一个新的ROI区域对象，保持区域中心点不变。
- `il_line_detector_set_edge_width` — 设置直线定位工具所使用的直线边缘的宽度，并返回设置完成的直线定位工具的功能调用的对象。
- `il_image_op_bit_or_scalar` — 这个是将输入图像和一个标量逐像素进行位操作或的工具。输出一个新图像。
- `il_region_union` — Union two regions. 将当前ROI区域与输入的区域进行与操作。
- `il_circle_detector_set_edge_width` — 设置圆定位工具所使用的圆边缘的宽度，并返回设置完成的圆定位工具的功能调用的对象。
- `il_image_op_divide` — 这个是将第一个输入图像逐像素除以第二个输入图像的像素的工具。输出一个新图像，对于第二个图像中的 0 像素，输出结果为 0。
- `il_image_op_bit_xor` — 这个是将两个图像逐像素进行位操作异或的工具。输出一个新图像。
- `il_ellipse_region` — Create an ellipse region object. 创建一个椭圆ROI区域对象。
- `image_convert_bgr_to_gray_color` — 将 BGR 颜色值转换为灰度值
- `il_image_filter_linear_filter_abs` — 基于自定义核，对输入图像进行线性滤波，输出滤波结果的绝对值 。
- `il_image_morph_dilate` — 这个是膨胀工具。输出结果中的每个像素为其结构元范围内邻域像素的灰度值中的最大值。
- `pat_match_get_pat_center` — Get the center of the pattern template. 获取当前配置的模板中心。
- `il_image_op_bit_or` — 这个是将两个图像逐像素进行位操作或的工具。输出一个新图像。
- `il_image_filter_fill_hole` — 修补输入图像中的孔洞工具。
- `il_line_detector_set_norm_score` — 设置直线定位工具所使用的是否基于区域中的最大梯度值归一化直线分数，并返回设置完成的直线定位工具的功能调用的对象。
- `il_image_op_bit_xor_scalar` — 这个是将输入图像和一个标量逐像素进行位操作异或的工具。输出一个新图像。
- `il_region_rotate` — Rotate a region around its center. 以区域中心为旋转中心顺时针旋转当前ROI区域。
- `il_line_detector_set_accept_score` — 设置直线定位工具所使用的检测的分数阈值，并返回设置完成的直线定位工具的功能调用的对象。
- `image_stats_count_pixel` — Count the pixels in the input image which is below, between or above the given threshold bounds.
- `pat_match_learn_with_shape_image` — Learn the pattern template features from the provided image. 训练模板，使用输入的图像。
- `il_image_op_sub` — 这个是将两个图像逐像素相减的工具。输出一个新图像，两个输入图像需尺寸相同、类型相同。
- `il_region_invert` — Invert a region. 取反当前ROI区域。
- `il_circle_detector_set_find_by` — 设置圆定位工具所使用的检测的搜索策略，并返回设置完成的圆定位工具的功能调用的对象。
- `pat_match_is_learnt` — Check whether the LMatch object is well-trained. 检查当前模板匹配的功能对象是否已训练。
- `il_image_threshold` — LPV Image Threshold initialization tool. This is the initialization tool for image threshold operations. It is the prer…
- `image_convert_normalize_to8` — 归一化输入图像到 8 位图
- `il_image_op_diff_scalar` — 这个是计算输入图像和一个标量逐像素差值的工具。输出一个新图像。
- `image_copy_from` — 复制输入图像的内容并覆盖当前图像的指定位置。
- `il_histogram_build_mean_std_dev` — Build histogram from input image and region, calculate mean and standard deviation.
- `il_image_op_max` — 这个是将两个图像逐像素比较，取其最大值的工具。输出一个新图像，两个输入图像需尺寸相同、类型相同。
- `image_stats_count_pixel_color` — Count the pixels in the input image which is between or outside the given color bounds.

---
*Response truncated. Use `npx -y @smithery/cli@latest` for complete data.*
