matlab - 直方图匹配结果与输入不相似
问题描述
我正在尝试对两个矩阵进行直方图匹配。但结果与输入矩阵不相似。我认为它必须与“log_ort_esitlenmis”的直方图相似。
%Image enhancement'ta butun imge icin sag sutun
esitlenmis=histeq(a);
ort_esitlenmis=fft2(esitlenmis);
log_ort_esitlenmis=log(1+abs(ort_esitlenmis));
%Image enhancement'ta butun imge icin sol sutun
ort=fft2(a);
angle_ort_1=angle(ort);% 1.ortogonal(fft) icin faz bilgisi tutma.
log_ort=log(1+abs(ort));
matched=imhistmatch(uint8(log_ort),uint8(log_ort_esitlenmis));
解决方案
推荐阅读
- r - 禁止从 auto.arima 模型的摘要中打印
- php - REST API:我可以在没有 php 框架的情况下使用(api.in/method/1)这个方法吗?
- scala - 编译器耗尽检查继承自密封特征的案例对象列表
- spring-batch - 具有节流限制和跳过限制的 Spring Batch
- ios - 使用 UIView 作为 SCNPlane 内容会导致奇怪的行为
- function - 复杂性函数类
- r - 将区间向量转换为日期向量
- python - Pandas:“拆分字符串以分隔行”的反向操作
- bash - awk 模式中的条件匹配
- python - ValueError:在 x 列中找到无穷大