CIDepthBlurEffect line artifacts for portrait oriented photos
Originator: | tobiasdm | ||
Number: | rdar://44673416 | Date Originated: | 21-Sep-2018 11:12 AM |
Status: | Closed | Resolved: | |
Product: | iOS + SDK | Product Version: | iOS 12 |
Classification: | Security | Reproducible: | Always |
Summary: When using the Core Image filter CIDepthBlurEffect on portrait oriented photos, line artifacts show in the blurred out regions in the top part of the photo. Steps to Reproduce: Use CIDepthBlurEffect on a portrait orientated Portrait Mode photo. Expected Results: Blur effect without artifacts. Actual Results: Blur effect with line artifacts. Version: iOS 12 Notes: Workaround is to rotate photo from portrait orientation to landscape orientation before passing it to the filter, and then rotating the output of the back to portrait orientation.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Apple Developer Relations
Please know that our engineering team has determined that this issue behaves as intended based on the information provided.
Input images given to the CIDepthBlurEffect filter need to be in sensor orientation. If a developer wants to work with an image that has been oriented, they first need to rotate the image so that it is in sensor orientation, then invoke the CIDepthBlurEffect filter and then re-rotate the image anew after the outputImage has been created.