【问题标题】:How to use transformation T from histeq in Matlab?如何在 Matlab 中使用 histeq 的变换 T?
【发布时间】:2022-01-25 09:01:30
【问题描述】:

The documentation of histeq in Matlab 说:

[___,T] = histeq(___) 还返回转换T,它将输入灰度图像或颜色图的灰度分量映射到输出灰度图像或颜色图的灰度分量。

如何将此转换 T 应用到另一个图像(不是我放入 histeq 的图像)?

histeq 的输入是灰度图像,T 的输出是 1×256 double 向量。

【问题讨论】:

    标签: matlab image-processing histogram histogram-equalization


    【解决方案1】:

    histeq.m 中的以下行可能是解决方案:

    builtin("_grayxformmex", new_image, T);
    
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-16
    • 1970-01-01
    • 1970-01-01
    • 2016-07-28
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多