On Wed, Mar 09, 2016 at 01:20:42PM -0800, Martin Knowles wrote:
> I've been experimenting with the save-masks option for dealing with
> architectural subjects, and what I'd like to do is load the images with
> their mask results as layer masks into Photoshop so that they can be
> tweaked easily, and then merge the final result in Photoshop, if possible.
>
> Is this a workflow that ought to be workable? If it is:
>
> 1. since the masks are saved as float tiff, and they need to end up as
> Photoshop layer masks, the logical thing would be to convert the psd to
> 32bpp, then use Apply Image/channel paste to get the masks in. However,
> this is going to cause Photoshop to tonemap the output, which isn't ideal.
> Any good way around this?
>
> 2. What PS blending mode (or is there one?) would match how Enfuse merges?
There is no (AFAIK) blending mode that matches what enfuse does. Enfuse
uses 4 different algorithms, each with their own adjustable weighting,
to do the fusion. To get the best results, you would want to modify the
masks, save them out, then run enfuse with --load-masks.
> 3. Is there a good way to create the masks or convert them to a format
> that's more easily usable--like tif8 or tif16, rather than float tiff?
> (I've tried opening them in PS, and converting them down with linear gamma,
> but this seems not to work particularly well). Or is there something
> inherent to the algorithm that makes it work a lot better with float tiff
> masks?
Not having explored the enfuse code, I would imagine it's easier to use
floats to avoid a bunch of conversions (since the enfuse engine likely
uses floats internally). However, if Photoshop doesn't like dealing with
float tiffs, you may need to convert them with an outside tool (e.g.
imagemagik). You would then need to convert them back after
modifications, of course.
Sorry I don't have any more specific advice, however I don't use
Photoshop.
--Sean