如何仅在ImageMagick中的一个通道中调整直方图?
我有一个图像,希望调整以看起来像目标图像。
通过以下调整,我越来越接近目标图像,但是我看到红色通道有很大的差异,特别是在阴影中,我的问题是如何仅调整此通道以获得结果?
我的命令:(
convert actual_srgb.jpg -contrast-stretch 4x0.8% bb_4x0.8.jpg
顺便说一句,我已使用Adobe RGB配置文件应用于初始图像)
来源:
。
:(请参阅红色通道)
目标:
I have an image that want to adjust to look like a target image.
With the following adjustment I get closer to the target image, but I see a big difference in the red channel, specially in the shadows, my question is how can I adjust only this channel to get the result?
My command:
convert actual_srgb.jpg -contrast-stretch 4x0.8% bb_4x0.8.jpg
(BTW, I've applied sRGB profile to the initial image with the Adobe RGB profile)
source:
My result: (See the Red channel)
Target:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您只想在ImageMagick中调整一个通道,则将-Channel X添加到您的命令中,其中X为R或G或B,
例如调整红色通道。
If you want to adjust just one channel in Imagemagick, then add -channel X to your command where X is R or G or B
to adjust just the red channel for example.