Hello
I tried to use BCMATCH to match a group of images to achieve same luminosity and saturation to a target image.
I'm not very familiar with linux but I already tried other scripts and they work perfectly...
I tried the following on Ubuntu as Windows 10 subsystem:
pikkio123@pikkio123:/mnt/c/Users/ColorBoost/Desktop/test1$ bcmatch -c gray -s hsb 244a.jpg 244.jpg 1.jpg
convert: unable to open image `./bcmatch_S1_81.mpc': No such file or directory @ error/blob.c/OpenBlob/2712.
convert: no images defined `info:' @ error/convert.c/ConvertImageCommand/3210.
convert: unable to open image `./bcmatch_S2_81.mpc': No such file or directory @ error/blob.c/OpenBlob/2712.
convert: no images defined `info:' @ error/convert.c/ConvertImageCommand/3210.
convert: unable to open image `./bcmatch_S1_81.mpc': No such file or directory @ error/blob.c/OpenBlob/2712.
convert: no images defined `info:' @ error/convert.c/ConvertImageCommand/3210.
convert: unable to open image `./bcmatch_S2_81.mpc': No such file or directory @ error/blob.c/OpenBlob/2712.
convert: no images defined `info:' @ error/convert.c/ConvertImageCommand/3210.
convert: divide by zero `(-1.0*)/' @ error/fx.c/FxEvaluateSubexpression/2188.
convert: unknown image property "%[fx:1+(-)/]" @ warning/property.c/InterpretImageProperties/3678.
convert: divide by zero `(-1.0*)/' @ error/fx.c/FxEvaluateSubexpression/2188.
convert: unknown image property "%[fx:(-)/]" @ warning/property.c/InterpretImageProperties/3678.
I tried to change ./ with ./tmp/ on temporary variable declarations suspecting permissions issue but with same result.
Is there anyone who can give me a hint?
I will look into that and get back. It fails now for me also. Probably some change in Imagemagick since I created that old script.
But in the mean time try my other more current similar script, matchimage, which is likely much better at what you want to do. Note the order of the input images is swapped relative to bcimage.
I have fixed the bug causing that problem. You can download it again, now, if you want. But I think you will find that matchimage does a better job for what I think you are trying to do.
I had to match image a.jpg with ref.jpg and the result is a1.jpg
As you can see I had an inversion into the the shadow parts...
I knew from other discussion that this is an hard goal to reach but I would try to mix different techniques to approach the issue.
I'm sure many needs such solution but nobody have had the right idea till now...
Any suggestion?