-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to global balance contrast of mosaiced image. #56
Comments
Yes, global balance will work on merged images too. You might need to run it in sections, so balance 10x10 blocks of tiles, then balance again after final assembly. |
Can you give please an example to integrate this with merge function?
I have tried inserting Error:
Please provide an example for this function. |
Don't use black, it'll get confused. You need to start from a set of images on disc, merge them together, then call |
How those black pixels can be ignored. I have added 255 value to those pixels but it's not working with global balance. I can't remove those black pixel area, however, I can modify them to work for global balance. What kind of modification is needed for global balance? |
You don't need black to assemble a mosaic, do you? Build it without using black and globalbalance should work. |
Whenever I am using merge function, I will have some black pixels because my image is shifting in vertical direction also. So, an extra region is padded with a black pixel. I was using a black image for the first merging operation to make coordinates easy otherwise I have to make dynamic coordinates for merging operation, which is related to the input frame of reference. |
Hello @jcupitt
I have used
![image](https://user-images.githubusercontent.com/37264992/43194109-41ab5d1c-901f-11e8-87f2-3bf122b36a94.png)
merge
function to stitch the image. Is there any function to global balance the final mosaiced image. As you can see in the attached image contrast is not balanced in each tile.I know there is a function
globalbalance
in pyvips but it works with onlymosaiced
function. Is there any way to do balancing using merge function or any other way?The text was updated successfully, but these errors were encountered: