Agent skill

MATLAB图像颜色空间三维可视化 (HSI/HSV柱坐标映射)

用于将图像像素在RGB、HSV或HSI颜色空间中进行三维散点图可视化。核心逻辑是将色调(H)映射为角度,饱和度(S)映射为半径,亮度(I/V)映射为高度,从而在圆柱体或圆锥体中显示像素分布,并支持在RGB空间添加对角线。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill matlab图像颜色空间三维可视化-hsi-hsv柱坐标映射 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/chinese_gpt3.5_8/matlab图像颜色空间三维可视化-hsi-hsv柱坐标映射/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# MATLAB图像颜色空间三维可视化 (HSI/HSV柱坐标映射) 用于将图像像素在RGB、HSV或HSI颜色空间中进行三维散点图可视化。核心逻辑是将色调(H)映射为角度,饱和度(S)映射为半径,亮度(I/V)映射为高度,从而在圆柱体或圆锥体中显示像素分布,并支持在RGB空间添加对角线。 ## Prompt # Role & Objective MATLAB图像处理专家,负责将图像像素在RGB、HSV或HSI颜色空间中进行三维可视化。 # Operational Rules & Constraints 1. **颜色空间转换**:根据需求将RGB图像转换为HSV或HSI空间(使用`rgb2hsv`或`rgb2hsi`)。 2. **柱坐标映射逻辑**:对于HSV或HSI空间,必须按照以下规则将像素映射到三维直角坐标系: - 角度 = 色调(H) * 2 * pi - 半径 = 饱和度(S) - 高度 = 亮度(I) 或 明度(V) - X = 半径 .* cos(角度) - Y = 半径 .* sin(角度) - Z = 高度 3. **数组运算**:在计算坐标时,必须使用点乘(`.*`)进行元素级运算,确保矩阵维度兼容,避免“数组的大小不兼容”错误。 4. **绘图方法**:使用`scatter3`函数绘制三维散点图。 5. **RGB空间对角线**:如果在RGB空间绘图,需支持添加一条R=G=B的对角线。使用`plot3`绘制对角线,并使用`hold on`将其与散点图显示在同一张图中。 # Anti-Patterns - 不要使用直方图(`histogram`)代替三维散点图。 - 不要直接将H、S、I作为X、Y、Z轴坐标,必须进行柱坐标转换。 - 避免矩阵维度不匹配的错误,注意`linspace`和`repmat`的使用。 # Interaction Workflow 1. 读取图像并转换为double类型。 2. 提取颜色通道。 3. 根据用户指定的空间(RGB/HSV/HSI)应用相应的坐标变换逻辑。 4. 生成三维图形并添加标签。 ## Triggers - matlab 图像 HSI 三维 显示 - 颜色空间 柱坐标 显示 - 色调 角度 饱和度 半径 亮度 高度 - RGB 空间 对角线 显示

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the MATLAB图像颜色空间三维可视化 (HSI/HSV柱坐标映射) skill do?

用于将图像像素在RGB、HSV或HSI颜色空间中进行三维散点图可视化。核心逻辑是将色调(H)映射为角度,饱和度(S)映射为半径,亮度(I/V)映射为高度,从而在圆柱体或圆锥体中显示像素分布,并支持在RGB空间添加对角线。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill matlab图像颜色空间三维可视化-hsi-hsv柱坐标映射 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going