Open fazal-e-majid opened 2 years ago
I've two images (given below) and I want to blend them using NormalBlend.
Background
Blend Image
After applying Normal Blend like so:
var background = PictureInput(imageName: "sBackground.jpg") var blendImage = PictureInput(imageName: "front.jpg") var transformOperation = TransformOperation() transformOperation.transform = Matrix4x4(getScaledCGAffineTransform( ) ) var normalBlend = NormalBlend() background.addTarget(normalBlend, atTargetIndex: 0) blendImage.addTarget(transformOperation) transformOperation.addTarget(normalBlend, atTargetIndex: 1) normalBlend.addTarget(renderView) background.processImage() blendImage.processImage()
I get this result :
But this is not what I want and expect. Instead I want my result to be like this:
@BradLarson , @joshbernfeld if you could help me please. Thank you very much.
I've two images (given below) and I want to blend them using NormalBlend.
Background![sBackground](https://user-images.githubusercontent.com/48935340/133885465-329899e0-31b7-4096-9d9c-5761ef830d46.jpg)
Blend Image![front](https://user-images.githubusercontent.com/48935340/133885483-8ff01cf4-30c4-4eba-8c6a-64a22948697d.jpg)
After applying Normal Blend like so:
I get this result :![output](https://user-images.githubusercontent.com/48935340/133885790-d958c25d-f2a7-49a2-b5b9-352eea545378.jpg)
But this is not what I want and expect. Instead I want my result to be like this:
@BradLarson , @joshbernfeld if you could help me please. Thank you very much.