Jump to content
You must now use your email address to sign in [click for more info] ×

Aligning layers by selection / mask bounds ?


Recommended Posts

Hi Andrew,

 

could you explain how you try to align the images? Are you using the "New Panorama" and "stich Panorama"?

The official tutorial may provide some hints to optimize the stitching with manual interventions and masking.

Regards,

NMF

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Link to comment
Share on other sites

I was not clear - a thousand mea culpas - I'm not stitching I'm "stacking" different exposures / waves / focus etc for making a comp from all the layers so I want them to overlay each other in "perfect" registration.

Does my question make more sense now ?

In PTGui Pro I can force a stitch on different layers by manual assigning point's but it's a much more longer winded process - I was hoping for something that could automate it for me but with more control than Ablowme PS "Align Layers" which although simple fails often such that I've had to resort to manual pixel nudging for mod cases.

Thx

Link to comment
Share on other sites

Ok, that is a different animal 😅

Then you may try one of the stacking tool: new stack, or new HDR merge.  These have the option to automatically align pictures. This works really well even with handheld shots.

In case of HDR merge, you do not need to tone map, just uncheck the box, and only use the alignment and cloning functionality.  The big plus: With HDR merge,  you can automatically remove ghosts, and manually adjust with clone tool if the automatically removal did not work perfectly. 
 

If your mages are too different from each other, this manual process might help. It uses helper shapes to get a perfect perspective adjustment for stacking  

assuming you use 3 images (pixel layers). Image 1 as base/ reference on bottom,  image 2 and 3 to be aligned, above layer 1 in the layer stack  

  • On every picture, use the pen tool to create a shape and connect 4 points (corners) in the images with reference points. Use separate shapes, 1 per image. Rename layers to 1,2,3 to stay organized. Use black stroke of about 2 pixel, no fill
  • Hide all layers except the 3 shapes, 
  • 1 lowest, 3 on top
  • add a live perspective filter and nest it to shape 2
  • adjust the perspective until the corners match perfectly
  • repeat same process with shape 3
  • when perspective is ready, move the perspective filters from the shapes to the pixel layers
  • hide shapes, enable pixel layers
  • add masks (black) on pixel layer 2 and 3
  • Paint with brush tool in white to reveal wanted areas. Work from bottom to top.

ic case i missed your question again, it would be great if you can upload example files and a draft version of what you want to achieve. 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Link to comment
Share on other sites

On 2/11/2021 at 1:35 PM, Andrew Mumford said:

Is it possible to mask or select only the parts of the image I want aligned, fg / bg rocks etc, such that Affinity will ignore the pixels outside of those areas for analysis ?

Thx

No, Try using new Stack and having the Auto Align turned on.And here are my 2¢ I think that what you are trying to do will be giving better results if you have many images, not just two or three but 10 to 20.

801377184_ScreenShot2021-02-13at7_58_38AM.png.e64246aa7801772991dc5c5a4552b824.png

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

On 2/11/2021 at 9:35 PM, Andrew Mumford said:

Is it possible to mask or select only the parts of the image I want aligned, fg / bg rocks etc, such that Affinity will ignore the pixels outside of those areas for analysis ?

There may be a way to do that but I would need to see the images you are working with

Can you upload them?

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

Hi Andrew,

i see another post from you where you shared a layer stack of many seaside photos. So using "New >stack" with "Automatically Align Images" seems the first choice for your type of images.

Unfortunately, with waves it might not work ideally. And please keep in mind that masking in a stack works different (only 0 or 1, no gradual masking). So after using the stack to get the images aligned, simply remove the stack before adding masks.

Even a focus merge may be useful. For focus merge, you may need to stack / align the images first, and then export every image isolated as TIFF-16, as focus merge expects pre-aligned images.

Regards,

NMF

 

 

 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.