Showing posts with label G'MIC. Show all posts
Showing posts with label G'MIC. Show all posts

An Update about G'MIC on OpenSource.graphics

David Tschumperlé has a blog over at OpenSource.graphics and it appears that after releasing G'MIC 1.6.2.0 he had some time to write down and share some thoughts about the last 10 months of working on G'MIC.

He covers a lot of ground in this post (as you can imagine for not having reported anything in a long time while working hard on the project). He talks about some neat new functionality and filters added like color curves in others colorspaces, comics colorization, color transfer (from one image to another), website for film emulation (yay!), foreground extraction, engrave, triangulation, and much more.


Interactive Foreground Extraction


Engrave Filter

A short table of contents for the post:

  1. The G’MIC Project : Context and Presentation
  2. New G’MIC features for color processing
  3. An algorithm for foreground/background extraction
  4. Some new artistic filters
  5. A quick view of the other improvements
  6. Perspectives and Conclusions

David may not write as often as I think he should but when he does - he certainly does! :) Head over and check out the latest news on an awesome image processing framework!

David Tschumperlé and OpenSource.graphics

Some of you may be familiar with G'MIC, the rather extensive image processing language created by David Tschumperlé that has a very popular plug-in for GIMP.

If you're a fan, here's a nice little treat for you. David has started a blog about image processing with open source software:

http://opensource.graphics




If you'd like a front seat to some of the more technically interesting things going on behind the scenes at G'MIC, this would be a good blog to follow I think. He's already come out of the gate with a neat 3D colorcube investigation of some images (seen above, Mairi).

Clarity in GIMP (Local Contrast + Mid Tones)

I was thinking about other ways I fiddle with Luminosity Masks recently, and I thought it might be fun to talk about some other ways to use them when looking at your images.

My previous ramblings about Luminosity Masks:
The rest of my GIMP tutorials can be found here:

If you remember from my previous look at Luminosity Masks, the idea is to create masks that correspond to different luminous levels in your image (roughly the lightness of tones). Once you have these masks, you can make adjustments to your image and isolate their effect to particular tonal regions easily.

Netflix Top 50 Covers by Genre (Averaged & Normalized)

In my (apparently) never-ending quest to average all the things, I happened to be surfing around Netflix the other evening looking for something to watch. Then a little light bulb went off!


I had previously blended many different variations of movie posters with varying success, but figured it might be interesting to see mean blends based on Netflix genres (and suggestions for me to watch). So, here are my results across a few different genres:


I found a couple of surprising and interesting things in these results...

G'MIC Montage

So I was talking with G'MIC creator David Tschumperlé the other day and thought it might be handy to have a way to create a montage of images (similar to the montage command in Imagemagick), but to have more control over the montage layout with automatic image fitting.

Pat David G'MIC montage aligned images fit

In the past, if I wanted to montage a series of images of different sizes, I would do it manually in GIMP. What I was proposing to David was to programatically deal with fitting images given some manual input from the user.

I know that he usually works quite fast, but he blew me away with how quick he got into the idea this time. From describing it one afternoon, it was about a day to get something working. (Add another half a day after I gave him a hard time about making the edges fit regardless of padding... Sorry David!)

Getting Around in GIMP - G'MIC Inpainting (Content Aware Fill)

One of the advantages of hanging around people smarter than me is that I get to see some really neat things as they are being developed. Lucky for me, +David Tschumperlé let’s me see interesting things that they are hacking on over at G'MIC.

Of course, if you’re reading me occasionally you’ll remember that last time I got a chance to work on something with G'MIC, we ended up making some fun film emulation presets. This time I’m not involved other than to play, and it’s really neat!

It is the latest work on the patch-based inpainting algorithm.

The rest of my GIMP tutorials can be found here:
Getting Around in GIMP
My previous look at using the Resynthesizer/Heal Selection plug-in:
Getting Around in GIMP - Heal Selection (Resynthesizer)

Libre Graphics Meeting 2014 in Leipzig, Germany (and a Workshop Announcement)

Ok, I’m sorry I’ve been so quiet! I’m not Missing in Action, I’ve just been busy with some other things...

As a matter of fact, here are those other things!

Libre Graphics Meeting

I’ve been helping out the Libre Graphics Meeting team where I can. If you’re not familiar with them, the Libre Graphics Meeting is the meeting opportunity for many open-source graphics related projects.

2014 Libre Grahpics Meeting Logo Header

This is the meeting where the hackers, designers, users, and developers of many of the most popular FLOSS graphics tools meet to share ideas and to showcase works. For many projects this is the only time that the teams can actually meet face to face to discuss new ideas and progress.

Personally I’ve been trying to help by writing/copyediting posts on the LGM website. So I haven’t had an opportunity to write here as much these paste few weeks.

If you’re reading this, please consider chipping in anything that you can to help bring these great FLOSS project teams together! Seriously, just a few dollars from each person can really, really make a difference. These are the people that are building tools that make what I do here possible, and the only way to get quality software that respects our freedoms.

Donate to the Libre Graphics Meeting Pledgie Campaign!
Click here to lend your support to:  Libre Graphics Meeting 2014 and make a donation at pledgie.com !

FL/OSS Tools in a Photographic Workflow

Sounds fancy doesn’t it? Well, not only should you donate to LGM if you can, but if you have the means you should also attend! There’s a good reason to!

I’m going to be conducting a workshop at the meeting on using FL/OSS tools in a photography workflow. I’ve got a two hour block where I’ll be having a photowalk with attendees to talk about photographic processes and maybe techniques, and then back to the meeting to discuss various methods of processing and editing the photographs using a variety of FL/OSS tools (RawTherapee, darktable, Hugin, LuminanceHDR, G’MIC, Imagemagick, and more!).

Of course, GIMP is missing from that list because I wanted to address them separately.

The GIMP team is graciously sponsoring me to attend LGM this year!

I’ve been slowly updating the tutorials on the GIMP website and attaching much more liberal licenses to them so they can be reused freely. (Yet another reason I’ve been unable to post new stuff here lately, but a good reason!). I was thinking that a look at my photographic retouching process using GIMP might be fun and helpful.

I tend to use many different software depending on what I need to do, but of course I always find myself in GIMP at the end... :)

Consider Attending LGM

So, if you’re able to - consider coming over to Leipzig, Germany April 2-5 to join us! The meeting is free to attend, and there will be many great things to see and learn about. For instance:

  • G’MIC
  • Yep, David Tschumperle (creator of G’MIC) will be in attendance along with Jérôme Boulanger! They are going to be giving a great overview of G’MIC along with some looks at the incredible filters available with the language (and how they can push these new filters so quickly out to the community due to a tight relationship with the artists that use it). I believe I’ll also be joining them in this presentation briefly to talk about the film emulation effects released last year.
  • Rolf Steinort / Meet the GIMP
  • I’ve heard from the man himself, Rolf (of Meet the GIMP of course), that he’ll also be attending this year! I’m going to try and get an autograph!
  • darktable
  • Tobias Ellinghaus will be bringing darktable to its first LGM as well! I know many people using free software for photography use darktable - so here’s a chance to interact with the great folks at darktable!
  • Magic Lantern
  • Yep, the folks that are able to bring amazing new powers to Canon cameras through a custom firmware will be attending their first LGM as well! In fact, if you bring your Canon camera with you, they will helpfully get you setup with the firmware while you’re there.

These are just a few of the many, many things that will be presented at this years LGM. There’s tons more, and as I get the time I’m updating the LGM website to showcase new sneak peeks at what’s to come.

Oh, and just to help remind you, don’t forget to donate a little something if you can:

Donate to the Libre Graphics Meeting Pledgie Campaign!
Click here to lend your support to:  Libre Graphics Meeting 2014 and make a donation at pledgie.com !

Mean Averaged Music Videos [G’MIC/Blender]

So I can’t leave well enough alone, as seen in my last post about mean averaging stuff. In that last post I had averaged entire music videos to see what the resulting images would look like.


This time around I took a different path. I wanted to demonstrate what exactly was visually happening when creating these averaged images. For that I turned to the experts (by experts, I mean David Tschumperlé), and this time did all of the image averaging in G’MIC. (So a great big Thank You! to David for putting up with me while I tried to describe what I wanted).

The reason is that I wanted to show the videos turning into the final mean averaged images in realtime, as the video played. For this, David was kind enough to write me a quick G’MIC script that would do the mean average for every frame in the video, and dump the total average for each frame one by one.

Using G'MIC Film Emulation Filters Offline

I’ve had a few questions regarding using the Film Emulation presets I put together with the G’MIC team. Specifically, how to use the emulations while offline. So I figured I would offer some suggestions on how to make this possible at the moment.

Well, David Tschumperlé already fixed this (within a couple of hours of publishing this post, no less). I'm leaving it here for posterity, though.
Thanks David!

The rest of my GIMP tutorials can be found here:
Getting Around in GIMP

The way it currently works is, there is a file for each film emulation type. When you choose one to preview in G’MIC, behind the scenes it will go and download the file to your local temporary directory (where this is depends on your OS).

Now, this is fine for the most part. Unless you don’t have a constant internet connection, or a fast one. Then it becomes a bit of a problem. The reason is that sometimes the contents of the temporary directory might be wiped out on a reboot, which means you’d have to re-download all of the emulation files again.

So here’s a way to get around this problem.

I’m going to show this in Windows 7, as I don’t have a linux box nearby to test this on at the moment. See below for notes on linux use.

Faking an ND Filter for Long Exposure Photography

So, I’ve had this idea bouncing around in my head for a bit, and figured it might help me to get off my ass and actually try it out if I described my thought process.

Long Exposure - Shanklin
Long Exposure - Shanklin by Richard 'Tenspeed' Heaven, (cb)
5 sec  f/32 ISO 100

I’ve been wanting to get some ND filters to experiment with daytime long exposures for a while now. The problem is that I’m lazy. So when I say “for a while now”, I really mean that it’s been like 3 years.

Film Emulation Presets in G'MIC (GIMP) [Addendum]

Well, it's been a busy week. I thought it would be nice to post a small update on the current status of these film emulation presets.

In my first post on these, I described what I was doing. At that time, I had only a few different film emulations to go with it. I released a couple of more earlier this week as well (instant films). Here is the current types of film available, with sample plates at their lowest settings to show what they look like (and a preview of some new stuff coming soon).

Film Emulation Presets in G'MIC (GIMP)

Color toning/grading can be a heck of a rabbit-hole sometimes. You start innocently enough, but hours later you’ll find yourself still fiddling with one particular point in one particular channel. Just a little bit more to get it just right! Just a slight bump to saturation in this color! Push the hue a little more this way!



Mairi. Kodak Portra 400 NC Emulation (Strongest setting)
(mouseover for original)


It may seem trivial, but these tiny differences can mean the world to obsessive-compulsive types. I’m speaking from experience because I just finished clawing my way out of the rabbit hole...

I brought some things back with me, though.

G'MIC Image Averaging Made (Relatively) Easy

I hesitate to mention G'MIC in a title sometimes because I feel that whatever I write is not going to do it justice. For this post, I couldn't resist.

I really should have posted this a while ago when I first saw it, but to be honest it slipped under my radar. So I'm trying to catch up and make amends.

+David Tschumperlé was kind enough to post today a link to some incredible work done by Jérome Ferrari with more averaging images. (It is seriously incredible).


A neat result using -compose-edges in G'MIC

This time everything was done entirely in G'MIC. The images are aligned on the eyes automatically using a little cropping and phase correlation, then scaled to fit both eyes. The results are fantastic.

They are also way faster than doing it my way (aligning eyes and scaling to fit by hand in GIMP).

Head on over and check it out:

Averaging face photos : eye alignment

Also, be sure to check the follow up where there are some slight distortions applied to align the mouths as well.

Noise Removal in Photos with Median Stacks (GIMP/G'MIC & Imagemagick)

In my recent experiments and playing around with even more image averaging in Imagemagick, I decided to have a look at some other methods for calculating pixel values. This time I focused on stacks of images of the same thing.

Why the same thing?


f/8 @ 1⁄100 sec., ISO 25,600 (mouseover to compare straight out of the camera)

Because the (uninspired) above image was shot at ISO 25,600. Go look at it again.