Fillsky should work for those problems -- any area *above* the detected end of sky which is black (i.e. r,g,b all 0), or alpha < 1. will be filled with the modelled esimate of the sky color. But the trick will be to apply a test mask (-tm <left> <right> <top> <bottom>) to the area so the end of sky detection doesn't stop on those areas. As I write this I realize there'd be some situations like yours where Skyfill should by default doesn't stop on black or transparent areas during end of sky detection. Currently it does stop because there can be areas at the left and right edges of panaromas that are transparent after the crop, and the barrel distortion correction has left a concave area which I'd assume a use might want to repair in postprocessing after running Skyfill.
I have to get part 2 of the Tutorial done, but there is an example of the test mask usage in the first part of the Tutorial. If your dirt spots are always in the same place it should be pretty easy to "can" the test mask flag in a script and run on multiple files. I'd be happy to help show you on a particular image if you'd like. I wouldn't mind having another test case too ;-) On Friday, March 4, 2022 at 10:51:50 AM UTC-8 [email protected] wrote: > I have many small isolated gaps in the sky of my photos from my recent > vacation. That is a bit different from the example use of FillSky. > > Given how many different things I'm trying to learn to use at once now, > I'd appreciate knowing whether FillSky is the right tool before I take time > to figure out how to use it. (At a quick first look, it was not obvious to > me how to use it). > > I got dirt on the sensor of my camera at the start of my vacation (I'm not > used to this type of camera) and the air bulb I had could not blow the dirt > off and I didn't have a cleaning kit. So all my photos have dirt spots. > > I can mask out the dirt spots where the matter and in non-sky areas of > panoramas there is typically overlap with the photo above that can replace > the masked out bit. But for sky sections (where the dirt is most visible) > there is no photo above. So the mask leaves a gap in the final panorama. > > Does FillSky automatically find and fill gaps in the sky? Or can it > easily be told to? Or is it just for sky gaps created by a ragged top to > the whole panorama? > -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/4b9b1a96-295c-4c4e-af2c-7214288dd68dn%40googlegroups.com.
