Page 1 of 1

How to match histogram (convert command)

Posted: 2012-06-30T04:33:00-07:00
by lttq
Hello

I want to change color style of a photo by using color style of other photo.So,I think about histogram matching method.I know that IM provide option -equalize for histogram equalization,but no option for histogram specification or histogram matching.

What will I do to match 2 histograms of photo ?

Re: How to match histogram (convert command)

Posted: 2012-06-30T09:42:09-07:00
by fmw42
If you are on unix, or Windows w/Cygwin, you can use my histmatch script at the link below.

Re: How to match histogram (convert command)

Posted: 2012-06-30T11:12:58-07:00
by lttq
I want to config source of IM and add new option -hismatch to convert command and recompile source.Can you tell me what I will do ?

Re: How to match histogram (convert command)

Posted: 2012-06-30T11:16:18-07:00
by fmw42
Sorry, but histmatch is a bash shell script that makes calls to IM. It is not built into IM.

If you want to code that up in IM, please post to the Developers forum and inquire what would be needed. I do not code, just do bash shell script for image processing with IM

Fred

Re: How to match histogram (convert command)

Posted: 2012-07-01T04:17:28-07:00
by lttq
Thanks , Fred