[Gimp-user] batch automatic white balance
When I take 20 pictures, I have to edit 20 pictures with Gimp. That means opening up every single picture in Gimp. That is a tedious affair. Is it possible to do that all at once? Most of the time I just have to use the automatic white balance function with the Gimp. It would save me a tremendous amount of time. A python plugin that does roughly what you want can be found at www.lionhouse.plus.com/photosoftware/gimp_plugins Geoff -- geoff (via www.gimpusers.com) ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] restoring faded transparencies
I am still interested in the use of this plug-in and have been trying out a variety of tests with a selection of my slide copies. This test may not be strictly valid but I have been measuring the colour value of a white item using different settings of Restore and assuming that the blue cast has been removed when the white item gives ff. Generally, I have found that a setting of 0.1 will not give this but a setting of 0.2 does. The resulting images look quite pleasant, not too contrasty and retaining a good level of detail. If any one else is trying Restore I would like to exchange views and images. Norman I owe Norman a sincere apology. At some time in the past a line of code got deleted from my plug-in. (It went through dozens of versions!) This has no effect on the restorations with default settings but the degree of restoration slider does not work properly, especially when the original is dark. Further tests showed that, even with the missing code, it did not work as planned. A setting of 0.0 was intended to leave the original unchanged and 1.0 is the theoretical correct value. I have corrected the plug-in and fixed several minor bugs in a new version. So I am very sorry but some users may have been wasting their time. I suppose if the restorations look good it is not wasted. I did, of course, test the plug-in before release, I just did not test it on a wide enough range of images to detect the error. I have put a more detailed document update.pdf on the website and the results of some more tests. -- geoff ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] restoring faded transparencies
It would be useful if the slider range could be altered, especially to be able to go below 0.7. I am not a programmer and, therefore, I do not know if this is possible or how complicated it is but, if it can be done, I would love to be able to try the effect. Norman The degree of restoration is designed to be 1.0 according to the mathematics in my technical notes but I have found that for some images the resulting colours become a bit too garish, hence the slider. I had not expected values below 0.7 would be useful but the default range can be changed in the line (PF_SLIDER, contrast, Degree of Restoration, 1.0, (0.7, 1.2, 0.1) ), near the end of the file. My apolgies to Doug - I got my email address wrong (I never use this one), it is geo...@lionhyouse.pzlus.com (delete the xyz) I will look at your examples and also find out why some crash the program; I have not had this. -- geoff ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] restoring faded transparencies
I was scanning a lot of colour transparencies, some taken up to 40 years ago, and found that in some cases the colours had deteriorated badly. After a lot of experimenting I have developed an automatic way of improving the digital scans using gimp. I have put a technical article, the gimp plug-in, and a collection of the good and bad results at www.lionhouse.plus.com/photosoftware/restore. I would be interested in hearing from anyone who has worked on this problem and if you try the plug-in let me know how it works for your pictures. Thanks for all the interest. By publicizing my plug-in I hope that: (1) people with faded slides will be able to restore them, (2) that it will be possible to improve the method by input from others and (3) if (2) happens someone will take up the task of improving the coding so that the plug-in can be distributed more widely. I think that we should keep general discussion of this topic in this forum, so that everyone can join in, but it would be useful if there was a single collection of sample images, with commentary and perhaps carefully considered reviews of the conclusions made from them. I am happy to put these on my website along with my own examples. My email is geo...@plyus.cozm (delete the x y and z to get the correct address and avoid my getting spam). Please keep the file size down, the pictures will only be viewed on a webpage. Also be selective about what you send; images similar to existing ones are not very useful, but examples of good restorations of very poor originals are of interest as are failures of the method. It is probably also better if any very technical discussions are done by email. -- geoff ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] restoring faded transparencies
Quoting geoff for...@gimpusers.com: I was scanning a lot of colour transparencies, some taken up to 40 years ago, and found that in some cases the colours had deteriorated badly. After a lot of experimenting I have developed an automatic way of improving the digital scans using gimp. I have put a technical article, the gimp plug-in, and a collection of the good and bad results at www.lionhouse.plus.com/photosoftware/restore. I would be interested in hearing from anyone who has worked on this problem and if you try the plug-in let me know how it works for your pictures. Your script produces some very impressive results and your methodology is quite ingenious. I especially like how you exploit the quantization capabilities of GIMP (i.e., using Indexed colormaps). I was wondering what licensing your script is released under. There is room for improvement of your script, particularly with regard to its behavior as a GIMP plug-in and it would be easier to develop your script further if it were licensed to allow the sharing of derivatives (GPL, BSD, etc). This is especially true if your main interest lies with the image algorithms and you are less interested in the demands of the GIMP plug-in interface (e.g., handling UNDO, honoring selections, providing more flexible utility, menu location, etc). One thing that should be fixed fairly soon is that your script seems to produce a hidden image (i.e., no view associated) and neglect to remove it when finished. Regards. Thanks for your message. As you deduce I am more interested in the processing algorithm than the coding. There are too many poor results at the moment and I suspect there will be modifications to the method when I have more experience of its performance. For this reason I have not put it on a gimp site. I am happy for anyone to develop the plug-in further and improve the interface but there is not much point until the algorithm is unlikely to change. I have killed the spurious hidden image which was left over from the way of correcting the side absorptions. -- geoff ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] restoring faded transparencies
I was scanning a lot of colour transparencies, some taken up to 40 years ago, and found that in some cases the colours had deteriorated badly. After a lot of experimenting I have developed an automatic way of improving the digital scans using gimp. I have put a technical article, the gimp plug-in, and a collection of the good and bad results at www.lionhouse.plus.com/photosoftware/restore. I would be interested in hearing from anyone who has worked on this problem and if you try the plug-in let me know how it works for your pictures. -- geoff ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] restoring faded transparencies
I was scanning a lot of colour transparencies, some taken up to 40 years ago, and found that in some cases the colours had deteriorated badly. After a lot of experimenting I have developed an automatic way of improving the digital scans using gimp. I have put a technical article, the gimp plug-in, and a collection of the good and bad results at www.lionhouse.plus.com/photosoftware/restore. I would be interested in hearing from anyone who has worked on this problem and if you try the plug-in let me know how it works for your pictures. Although your maths is way above my head your results are most impressive. I have worked with old colour transparencies most of which are Kodak processed and have been stored in relatively good conditions. They were copied using an attachment to my digital camera and processed using UFRaw and Gimp. I will be happy to try your plug-in especially if it will work with RAW images. Please let me know which is the best to use JPEG or RAW. Norman I have no experience of UFRaw. If you can get your images into gimp my plug-in should work. I have just changed it to remove the saving of debug data. I will be interested in your experience. Geoff -- geoff ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] restoring faded transparencies
snip I have no experience of UFRaw. If you can get your images into gimp my plug-in should work. I have just changed it to remove the saving of debug data. I will be interested in your experience. Geoff I have tried with the plug-in but, unfortunately, I cannot detect anything happening. I use Gimp 2.6.X and Ubuntu 10.4 and I will try to explain what I did. I downloaded the file, installed it in the appropriate plug-ins folder and set the permissions to execute. The entry Batch Restore appeared in Gimp at the bottom of Filters. With a slide copy loaded in Gimp I selected Batch Restore and a window opened headed python-fu_batch_restore offering various options. I tried various Degree of Restoration settings with Make less blue and also tried turning Make less blue to No but in all cases on clicking OK the window immediately closed and nothing seems to happen. The image I am working with was prepared by photographing the slide using a close up attachment and is the JPG image straight from the camera. Am I doing something wrong or should I assume that the slide which is getting on for 30 years old and from which the copy was made has no deterioration in the colours? Norman Sorry you are having problems. It sounds to me that you are confusing the batch_restore plug-in with the restore plug-in. The former is for doing a whole set of photographs. The latter is for a single one. Load the image into gimp and go to the restore menu at the top of the window. It should open a new window containing the restored image. Geoff -- geoff ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user