It is currently Fri Mar 29, 2024 3:59 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 67 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 9:49 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Hello there,
I'm happy to announce the release of a new version (numbered 1.7.8) of the G'MIC image processing framework.
Of course, the G'MIC plug-in for GIMP has been updated as well! :coolthup

As always, I encourage upgrading to this new version as soon as possible :bump
In particular, note that this version is not backward-compatible with the previous one (1.7.7), meaning that all new filters added here and new future filter updates will be only available for versions >=1.7.8.

Here is what the latest version looks like, as the GIMP plug-in:
Image

What is G'MIC?

Quote:
G'MIC is a full-featured open-source framework for image processing. It provides several different user interfaces to convert/manipulate/filter/visualize generic image datasets, ranging from 1d scalar signals to 3d+t sequences of multi-spectral volumetric images, thus including 2d color images.

- G'MIC main project page : http://gmic.eu
- G'MIC plug-in for GIMP : http://gmic.eu/gimp.shtml
- G'MIC web service : https://gmicol.greyc.fr/
- G'MIC language tutorial pages : http://gmic.eu/tutorial/basics.shtml

The following is the full Changelog of the version 1.7.8, as compared to the previous stable version 1.7.7.
Enjoy !

New features:

- A lot of new features and improvements in the embedded math evaluator of G'MIC:

- Various optimizations and bug fixes, e.g to simplify compiled code when particular cases are detected (e.g. `1*x+0*y` reduces to `x`). Now, defining `const` scalar variables is also possible for help the JIT optimizing some expressions.
- New command `-math_lib` returns a string containing useful macros for the math parser (e.g. `draw_line()`, `draw_circle()`, `draw_triangle()`, `hsv2rgb()` ...).
- New function `unref(variables_names)` un-references already defined variables. It helps creating macro functions where arguments can be of any type (e.g. an argument `color` can be a scalar or a vector).
- New functions `break()` and `continue()` can be used to break / continue the current code bloc (e.g. loops), just as in the C language.
- Function `print()` can take multiple arguments now to print their values on the console.
- Defining user macros becomes a lot more flexible. Macros with the same name but different number of parameters can be overloaded. Macro argument substitution has been improved. For instance, this kind of expressions is now possible in the math parser:

seq(size,x,fnx) = ( V = vector#size(); for (#x = 0, x<size, ++x, V[x] = fnx); V );
A = seq(10,k,(k+1)^2);  # will set A = [ 1,4,9,16,25,36,49,64,81,100 ];

- New command `-input_sample` (eq. to `-is`) returns a sample image that can be used for quick tests with G'MIC operators and pipelines (e.g: `$ gmic -is lena`).

- New command `-display_quiver` (eq. to `-dq`) renders a field of 2d arrows from an image of 2d vectors (similar to `-display_tensors` but for displaying 2d vectors).

Image

- New command `-shape_fern` renders the Barnsley fern fractal with an arbitrary angle.

Image

- New GIMP filter Rendering / Barnsley fern is a GIMP plug-in interface to the command `-shape_fern`.

Image

- New filter Patterns / Crystal background renders multiple colored polygons to create cool geometric patterns.

Image

Improvements:

- Command `-polygon` has been recoded from scratch, and now uses multi-threading (through OpenMP) to rasterize a polygon on an image.

- Add optimizations for median computation from a set of 5,7,9 or 13 values.

- Command `-display_tensor` has been recoded from scratch, using the new features of the math parser. The command is faster to render, allows tensors to have an outline and to overlap.

Image

- Add optional `[guide]` argument to command `-nlmeans` (similar to the guide argument of commands `-bilateral` and `-guided`).

- Improvement of GIMP filters Custom code, with optional debug information displayed on the preview window. It also supports multi-layers as input now.

Image

- New "Duplicate" options for parameter `Preview type`. Now the user has additional choices `Duplicate top`, `Duplicate left`, `Duplicate bottom` and `Duplicate right`.

- Two environment variables `_preview_width` and `_preview_height` are now passed from G'MIC to the G'MIC interpreter. It should ease the rendering of good-sized preview by filters that change the image size or that work with several input layers.

Bug fixes:

- Commands `-dilate` and `-erode` return correct images when applied with an "empty" mask (where all mask values are set to zero).

- ...and many other small bug fixes !


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 10:11 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14801
Location: roma, italy
Upgraded, thanks a lot David!
Is there an example-filter to get the Lena outcome you've shown?

_________________
"Where am I ?"


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 10:14 am  (#3) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4039
David, as always, mind blown! You're the French version of the Energizer Bunny, where G'MIC is concerned! You keep going and going and going!

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 10:21 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14801
Location: roma, italy
Attachment:
86847100_Capture11-crop_GMICcrystalsBG.jpg
86847100_Capture11-crop_GMICcrystalsBG.jpg [ 107.97 KiB | Viewed 4749 times ]


just an attempt, very nice outcome

_________________
"Where am I ?"


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 10:26 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14801
Location: roma, italy
...and

Attachment:
86847100_Capture11-crop_GMICbarnsley.jpg
86847100_Capture11-crop_GMICbarnsley.jpg [ 126.05 KiB | Viewed 4749 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 10:30 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14801
Location: roma, italy
...and

Attachment:
86847100_Capture11-crop_GMICbrushify.jpg
86847100_Capture11-crop_GMICbrushify.jpg [ 85.68 KiB | Viewed 4737 times ]


(much quicker?)

_________________
"Where am I ?"


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 10:47 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
dinasset wrote:
Is there an example-filter to get the Lena outcome you've shown?


Thanks dinasset and Mahvin.
No, actually, the image with Lena is not the result of a filter. It uses a specific command to visualize a field of 2d diffusion tensors.
I'm not sure this is something that should be converted to a filter :)


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 10:56 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14801
Location: roma, italy
IMHO it's a very nice "transforming" effect

_________________
"Where am I ?"


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 11:05 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
I can still give the G'MIC command to render this kind of things, if someone is interested :)

$ gmic input.png -diffusiontensors 0.1,0.9 -r2dx 64 -dt 32,3,2,3 -r2dx 50% -o output.png


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 11:08 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Mar 28, 2016
Posts: 312
Location: Netherlands
David, thank you. (for 1.7.8)

It's nice that your professional pursuits, can be considered as art. :)


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 11:26 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14801
Location: roma, italy
Attachment:
86847100_Capture11-crop2_GMICdisplaytensorD.jpg
86847100_Capture11-crop2_GMICdisplaytensorD.jpg [ 994.07 KiB | Viewed 1148 times ]

thanks David
just tried (as a command sequence in gimp plugin)
not as nice as yours but I like it

_________________
"Where am I ?"


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 11:29 am  (#12) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Thanks so much David. I don't know how you do it. GMIC is wonderful. Also, I appreciate the links that were supplied. Makes it much easier to get there. :yes

Here's a quicky halloween poster brushified.

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 11:44 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14801
Location: roma, italy
this is what I entered in my personal library
if someone wants to try...

# -----------------------------------------------------------------------------------------
#
#@gimp DisplayTensors: gimp_displaytensors, gimp_displaytensors_preview(1)
#@gimp : msg = note("Welcome to DisplayTensors.")
#@gimp : sep = separator()
#@gimp : Sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical","Duplicate horizontal","Duplicate vertical")
#@gimp : Sep = separator(), note = note("<small>Author: <i>me as a thief od David's indications;</i>.      Latest update: <i>2016/10/17</i>.</small>")

gimp_displaytensors :

-verbose 0
-repeat $!
   -local[$>]
     -diffusiontensors 0.1,0.9
     -resize2dx 64
     -dt 32,3,2,3
     -resize2dx 50%   
   -endlocal
-done
-verbose +
gimp_displaytensors_preview :
  -gimp_split_preview "-gimp_displaytensors $*",$-1   
#


_________________
"Where am I ?"


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 11:44 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14801
Location: roma, italy
maybe David can amend/complete it

_________________
"Where am I ?"


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 12:04 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
The problem from the archive:


Attachments:
Problem.png
Problem.png [ 14.46 KiB | Viewed 1136 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 12:27 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
@Mareroq : the file 'gmic_win32.zip' is indeed bigger because it contains more than the plug-in, in particular the command line tool 'gmic.exe' to process images from the command line.


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 12:36 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
In Index of / files / prerelease archive is damaged. (Gmic_win32.zip 18-Oct-2016 15:58 13M)
In Index of / files / windows is it's correct. (Gmic_win32.zip 18-Oct-2016 15:58 17M)

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 1:21 pm  (#18) 
Offline
GimpChat Member

Joined: Oct 17, 2016
Posts: 10
I'm really impressed with the image you created with the plants. Quite similar with the issue we've been discussing in this post: viewtopic.php?f=9&t=14768&start=0

I will appreciate if you can make this a filter for those of us that are new to GIMP and can't do command line (Windows 10) to create such masterpiece. I don't even know how to start when I saw the code. Maybe a head start will help.


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 2:02 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14801
Location: roma, italy
@topelovely
if you are referring to my post # 13: if you like to have the function shown you have to:
1-have your system able to display hidden folders
2-display the folder: Users/(your-user-name)/AppData
3-create inside a file called "user.gmic" (beware, no extension added like .txt...)
4-enter all these lines
#@gimp My Directory
#
#@gimp DisplayTensors: gimp_displaytensors, gimp_displaytensors_preview(1)
#@gimp : msg = note("Welcome to DisplayTensors.")
#@gimp : sep = separator()
#@gimp : Sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical","Duplicate horizontal","Duplicate vertical")
#@gimp : Sep = separator(), note = note("<small>Author: <i>me as a thief od David's indications;</i>.      Latest update: <i>2016/10/17</i>.</small>")

gimp_displaytensors :

-verbose 0
-repeat $!
   -local[$>]
     -diffusiontensors 0.1,0.9
     -resize2dx 64
     -dt 32,3,2,3
     -resize2dx 50%   
   -endlocal
-done
-verbose +
gimp_displaytensors_preview :
  -gimp_split_preview "-gimp_displaytensors $*",$-1   
#
#@gimp _

Note:
- first line defines your directory, you may call it as you like, I just entered My Directory
- last line closes your filter(s) definition
- everything inbetween is exactly what I entered in post #13

Restart Gimp (having G'MIC installed)
Refresh
You will see among the std G'MIC Filters Groups also "My Directory"
Select DisplayTensors (it's the only one you have), Apply
You get the outcome.
Then you have to play a bit resizing the original image used as source (which is smaller then the produced outcome), so that you can set one over the other (as layers) and use the Mode e.g. Multiply or GrainMerge or whatever you prefer
Try

_________________
"Where am I ?"


Top
 Post subject: Re: Release of G'MIC 1.7.8
PostPosted: Tue Oct 18, 2016 2:41 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12572
Location: Spain, Aragón
Thank you so much David for so much work of yours applied in a new release of G'MIC. :clap :tyspin

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.


Top
Post new topic Reply to topic  [ 67 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Release of G'MIC 3.1.0

3

No new posts Attachment(s) Release of G'MIC 3.3

9

No new posts Attachment(s) Release of G'MIC 3.3.5

0

No new posts G'MIC pre-release version 2.8.3

6

No new posts Attachment(s) Custom Font Tools Release 12

7



* Login  



Powered by phpBB3 © phpBB Group