Skip to main content
johnrellis
Legend
October 13, 2021

P: Develop zoom interpolation algorithm incorrectly including input pixels from outside the crop bou

  • October 13, 2021
  • 21 replies
  • 921 views

[Update: The bug is caused by the Develop zoom interpolation algorithm incorrectly including input pixels from outside the crop boundary.  See here:

https://community.adobe.com/t5/lightroom-classic-bugs/small-display-glitch-in-develop/idc-p/12456139#M20245]

 

Develop at Fit zoom shows a small glitch on the bottom edge of a LR-made panorama.  The glitch appears at zooms of 25% and smaller but disappears at zooms 33% and larger. Disabling the GPU has no effect. The glitch doesn't appear in Library Loupe at any zoom. LR 10.4 / Mac OS 11.6. 

 

Here's the offending DNG:

https://www.dropbox.com/s/1nu6fvp9d26lmn0/DSC00452-Pano.dng?dl=0 

 

This topic has been closed for replies.

21 replies

Todd Shaner
Legend
November 18, 2021

Thank John. I have forwarded this information in the bug report to Adobe Engineering.

johnrellis
Legend
November 18, 2021

[This post contains formatting and embedded images that don't appear in email. View the post in your Web browser.]

 

As I explained in my previous reply, the bug can be simply demonstrated completely independent of panoramas. I'm afraid that engineering might go down the wrong rabbit hole by looking at the original panorama that demonstrated the bug, rather than the much simpler test case illustrating the core bug.

 

Nevertheless, here is a folder with the original photos and the panorama created with these options:

https://www.dropbox.com/s/nszmjh1hjmpvce5/crop-bug-display-bug-pano.2021.11.18.zip?dl=0 

 

Here is the notch artifact displayed in Develop at 50% zoom:

 

 

 

johnrellis
Legend
November 18, 2021

Here's a much simpler example of the bug, a 4000 x 4000 all-black TIFF with a "notch" of a single row of white pixels along the bottom. It's been cropped to 4000 x 3999, with the bottom row of pixels (including the notch) cropped out.  The LR crop settings are saved in the TIFF, so when you import it, you'll import the crop:

https://www.dropbox.com/s/r7dh7trp9t2i1vm/crop-display-bug-square.2021.11.18.tif?dl=0 

 

Even though the notch of white pixels has been cropped out, it still appears in Develop at 50% zoom:

Todd Shaner
Legend
November 18, 2021

John, can you please upload the original files used to create the panorama to Dropbox. Also let us know what Panorama Merge settings you used. Adobe Engineering wants them for further investigation. Thank you.

Rikk Flohr_Photography
Community Manager
Community Manager
October 30, 2021

Changing status to started

Rikk Flohr: Adobe Photography Org
johnrellis
Legend
October 19, 2021

Thanks.

Todd Shaner
Legend
October 19, 2021

John and @Sahil.Chawla I've submitted a bug report for this issue.

Todd Shaner
Legend
October 18, 2021

I'm seeing similar results when running the same set of image files through Photo Merge Panorama multiple times. Interestingly I'm also seeing stitching errors on some of the merges, but not on others. The selection and matching of control points is using some random sampling algorithm. You can't manually fine-tune the control points, but you can run the merge multiple times and perhaps catch and correct stitching errors. I guess it's an undocumented feature....oh boy!

johnrellis
Legend
October 18, 2021

@Sahil.Chawla , as you can see, we've narrowed down the conditions of this bug, so it would be great if you could file a bug report, thanks.

johnrellis
Legend
October 18, 2021

[This post contains formatting and embedded images that don't appear in email. View the post in your Web browser.]

 

Something curious I noticed while investigating this: the Photo Merge > Panorama algorithm is stochastic (incorporating random sampling), producing a slightly different merge each time I run it on the same three input photos. Here are the sizes for five successive merges (Cylindrical, Auto Crop) for the example above:

 

 

I'm guessing the merge algorithm probably uses some sort of random sampling of different overlapping positions of the photos to narrow down to a good set of positions.  That would make sense, though it would be a tiny bit better if the algorithm used the same starting seed for its random number generator (e.g. a seed based on the hash of the photo), so that the results would be identical each run.  I've done hundreds of panorams and never noticed this before.