Great addition! The initial implementation here seems to have a rather hard falloff, which creates an obvious dark halo and makes the effect seem less integrated into the photo.
Took a while to find actual analogue references, but from what I see the falloff is super soft:
I was thinking of a way to automatically neutralize the color cast introduced by the film simulation, so not really something in the spirit of this topic but it could be usefull.
The color cast could be removed with rgb curves or with mathematical operator too.
The first step is to apply the film simulation on the original image, we could call this image rgb_film_simulation_cc (pratically every pixels in this image are the rgb film simulation results multiplied by a color cast factor):
The second step is to apply the film simulation on the grayscale version of the original image, we could call this image gray_film_simulation_cc (pratically every pixels in this image are the grayscale film simulation results multiplied by a color cast factor):
How it works?
this part (rgb_film_simulation_cc / gray_film_simulation_cc)
could be written as follow (rgb_film_simulation * color_cast) / (gray_film_simulation * color_cast)
the result is now without the color cast rgb_film_simulation / gray_film_simulation
We just neeed to mutiply this result by the gray_film_simulation image to obtain the rgb_film_simulation without color cast rgb_film_simulation / gray_film_simulation * gray_film_simulation
I’ve installed spektrafilm using pip from the dev branch.
The program run just fine but when I try to save the result I have a “segmentation fault” error then crash.
I’ve tried on small size image and different output type of file without any effect.
Do you know what could be the root cause of this ?
Note that I’m testing this on windows 10 not yet tested on Linux also agx-emulsion worked great.
Thanks a lot for this tool, this is something I was looking for for quite a long time !
hej age, thank you for this! it reminds me to get back to a few aspects that i can improve about the profile creation side. i was not fully satisfied by it.
solving and minimizing the color cast of the simulation is a core challenge when creating the film profiles. indeed one of the core principles is to map neutral gray IN to neutral gray OUT (actually i try to correct a neutral gray ramp by minimally modifying the characteristic density curves). little casts are expected because i do not want to mess to much with the original data. I would expect the cast to be overall neutral, i.e. that shadows and highlights should drifts in opposite ways, while midtones should stay relatively neutral.
one note, if the virtual enlarger is applying a color correction with the yellow and magenta filters, it is expected that a neutral gray input will provide an output with a color cast. if a strong color cast is there for neutral gray it might be unwanted (bug/mistake), or a challenging film stock. do you consistently notice unwanted casts? could you fix them just by optimizing the enlarger filters? in that case the problem would be in the precomputed neutral enlarger filters.
gustavo@CAURJ004:~/.local/bin$ /home/gustavo/.local/bin/uvx --from git+https://github.com/andreavolpato/spektrafilm.git spektrafilm
An executable named `spektrafilm` is not provided by package `agx-emulsion`.
The following executables are available:
- agx-emulsion
This is Debian 12
NOTE: I had previously installed the version from the main branch successfully. Navari opened the interface, but I couldn’t open an .exr file, so I decided to try the dev branch
I had the impression that it was a big success. There were approximately 30 participants which is great because at my previous photo editing Workshops at the Libre Graphics Meeting there were 2-5 participants. As far as my „pediagocial method“ is concerned, it was a dream, the participants actually participated and it was not just like s talk, we actually had a fruitful dialogue, especially thanks to @grubernd who is a professional photographer. I think this was my most successful And „pleasant“ workshop at a conference so far. Of course, most listeners were just Linux nerds and had not much experience in photo editing, but they quickly understood what was important and I think I could convince some of them that spektrafilm is a wonderful piece of software. Of course I dont know yet what the actual feedback is. I didnt know many people at the conference and therefore didnt talk with many people. The whole conference consisted of just two days, the workshops were on Friday and the talks on Saturday. Well and even though I am not exactly an award winning actress I was actually able to talk, thanks to the fact that is was more like a dialogue. Just one thing, which was my fault: we only had a projector and not a big screen (i should have asked the organizers for a screen), but it was good enough to show the difference between kodak portra and kodak gold.
Nah, I’m referring to the way the different colors blend into each other in a soft and imperfect way appose to sterile and clean. Upon further research on this topic i think the answer might actually have something to do with film stock. A clear example of this (again happening in the late 2000s) can be seen in the change between breaking bad season 1 versus season 2 onward. I’ve heard that the reason for this had something to do with the crew switching from Fujifilm to Kodak stock (as well as a different cinematographer). The specifics of whatever stock was used I don’t know, but if i had to guess the Kodak stock used was probably some new cleaner updated variation that probably became widespread throughout the industry.
Season 3 above
I don’t believe the lighting to be that different between these two sets of images, i tried to find similar looking shots. The stock is much more cleaner and in my opinion, the season 3 images could have very well be shot on digital and there would be very little difference.
A shame they changed cinematographer as well, that makes it difficult to compare. I think I understand the feeling of old film that you’re trying to convey, but I am uncertain whether or not it is different stocks, the development process, digitalization processes (more sharpening) or just different cinematography styles.
I would agrue that the lighting is vastly different between these two sets of frames (more so than the quality of the film stock):