{
  "slug": "image-enhance",
  "name": "影像增强与拉伸",
  "brand": "Image Enhance",
  "category": "image",
  "categoryName": "影像处理",
  "description": "影像发灰看不清？最小–最大、百分位、直方图均衡、伽马、标准差、S 型六种拉伸换着试，前后对比和直方图当场看",
  "url": "https://data.ruiduobao.cn/tools/image-enhance/",
  "input": "栅格影像：GeoTIFF（.tif / .tiff，任意波段数）或普通图片 PNG / JPG",
  "output": "增强后影像预览（处理前后对比 + 直方图）+ PNG 展示图 + 带原地理参考的 GeoTIFF（0–255，输入为 GeoTIFF 时）",
  "freeBoundary": "免费：六种增强方式、单波段与 RGB 合成、PNG 与带地理参考的 GeoTIFF 导出全开放，全程在你的浏览器里完成，文件不上传服务器。",
  "processingLocation": "用户浏览器端（文件不上传服务器）",
  "parameters": [
    {
      "default": "percentile",
      "description": "增强方式：minmax 最小–最大拉伸 / percentile 百分位截断拉伸 / histeq 直方图均衡化 / gamma 伽马校正 / stddev 标准差拉伸 / sigmoidal S 型拉伸",
      "enum": [
        "minmax",
        "percentile",
        "histeq",
        "gamma",
        "stddev",
        "sigmoidal"
      ],
      "label": "增强方式",
      "name": "method",
      "type": "string"
    },
    {
      "default": 2,
      "description": "百分位截断拉伸的下限百分位，该占比以下的像元截断为 0",
      "label": "下百分位（%）",
      "name": "pctLow",
      "type": "number"
    },
    {
      "default": 98,
      "description": "百分位截断拉伸的上限百分位，该占比以上的像元截断为 255",
      "label": "上百分位（%）",
      "name": "pctHigh",
      "type": "number"
    },
    {
      "default": 0.7,
      "description": "伽马校正的 γ 值：小于 1 提亮，大于 1 压暗",
      "label": "伽马值 γ",
      "name": "gamma",
      "type": "number"
    },
    {
      "default": 2,
      "description": "标准差拉伸的截断倍数 n：以均值 ± n 倍标准差为拉伸上下限，限外像元截断",
      "label": "标准差倍数 n",
      "name": "stdN",
      "type": "number"
    },
    {
      "default": 0.5,
      "description": "S 型（sigmoidal）拉伸的拐点，归一化位置 0–1",
      "label": "S 型拐点 cutoff",
      "name": "sigCut",
      "type": "number"
    },
    {
      "default": 4,
      "description": "S 型（sigmoidal）拉伸的增益，越大中间段曲线越陡",
      "label": "S 型增益 gain",
      "name": "sigGain",
      "type": "number"
    },
    {
      "default": "rgb",
      "description": "处理模式：gray 单波段灰度 / rgb 三波段合成（输入不足 3 个波段时只能用 gray）",
      "enum": [
        "gray",
        "rgb"
      ],
      "label": "处理模式",
      "name": "mode",
      "type": "string"
    }
  ],
  "examples": [
    {
      "title": "示例：一张数值挤在 100–120 的低对比度影像，百分位拉伸后铺满 0–255",
      "url": "https://data.ruiduobao.cn/tools/image-enhance/"
    }
  ],
  "version": "1.1.0",
  "updated": "2026-11-27"
}