It is currently Tue Jul 02, 2024 1:46 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: RGB Max filter in older older versions, how to get it sorted in 2.10?
PostPosted: Tue Jul 13, 2021 5:32 am  (#1) 
Offline
New Member

Joined: Jul 13, 2021
Posts: 2
GIMP Version: 2.10
Operating System: Windows
GIMP Experience: New User



Hi everyone
I am new to the forum, sorry in advance if this is not the appropiate forum to ask this question, also I have done a quick search before asking with no results ¿?

I am an agronomist and have been using GIMP previously to determine percentage of soil covered by the crop canopy using crop-pictures taken from above

For that I used the RGBmax filter which "For every pixel of the image, this filter holds the channel with the maximal/minimal intensity. The result is an image with only three colors, red, green and blue, and possibly pure gray." (I originally linked to GIMP 2.6 help page plug-in-max-rgb.html)

Once this fiter was applied I could eliminate the red and blue channels and measure the amount of green present in the picture, from then on the proccess to obtain the percentage of soil covered by the crop was quite straight forward.

In the new 2.10 version most colour filters have been removed (seen at the GIMP version history for 2.10, "Color tools" section) and I lack the knowledge in this subject as to find a proper alternative using the current version.

Can anyone give me a hint as to how to solve this problem?

Many thanks in advance


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: RGB Max filter in older older versions, how to get it sorted in 2.
PostPosted: Tue Jul 13, 2021 6:17 am  (#2) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2436
Maximum RGB is still there, it is one of the filters that have been removed from the menu structure but retained for some backward compatibility.

Use the forward slash key ( / ) to bring up the Gimp 2.10 search option, type in rgb, look for maximum rgb, click on it to open the filter.

30 second example : https://i.imgur.com/xNKWF7g.mp4

_________________
Image


Top
 Post subject: Re: RGB Max filter in older older versions, how to get it sorted in 2.
PostPosted: Tue Jul 13, 2021 9:36 am  (#3) 
Offline
New Member

Joined: Jul 13, 2021
Posts: 2
:gimp

Thank you!, I feel in debt now, if you ever come to La Rioja in Spain I owe you a wine


Attachments:
File comment: I've managed to do it!
PantallazoRgbMáximo.png
PantallazoRgbMáximo.png [ 707.5 KiB | Viewed 7636 times ]
Top
 Post subject: Re: RGB Max filter in older older versions, how to get it sorted in 2.
PostPosted: Tue Jul 13, 2021 11:13 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 790
Location: SEA - South East Asia
rich2005 wrote:
Maximum RGB is still there, it is one of the filters that have been removed from the menu structure but retained for some backward compatibility.

Use the forward slash key ( / ) to bring up the Gimp 2.10 search option, type in rgb, look for maximum rgb, click on it to open the filter.

30 second example : https://i.imgur.com/xNKWF7g.mp4


Sadly they removed it from 2.99 with no replacement > https://gitlab.gnome.org/GNOME/gimp/-/issues/5440 and it won't be anymore in GIMP 3
This filter is also very useful to prepare a mask with a selection tool, in some cases it's even the best way to get a selection right away without fine tune needed...

_________________
Patrice


Last edited by PixLab on Fri Jul 16, 2021 5:42 am, edited 1 time in total.

Top
 Post subject: Re: RGB Max filter in older older versions, how to get it sorted in 2.
PostPosted: Wed Jul 14, 2021 9:42 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 790
Location: SEA - South East Asia
I've asked the G'MIC team today if they have a Max RGB filter (these guys are very responsive, truly fantastic) > https://discuss.pixls.us/t/does-gmic-ha ... -rgb/25880

They gave me very simple code to input (copy/paste) for now (may be "afre" will do a filter)
So in G'MIC go to "Various" > "Custom Code"
In the "Channels" drop-down menu select "RGB[All]"
then input (copy/past) that code:
Image
For Maximum RGB
f "M = max(I); M*!(I-M)"

For Minimum RGB
f "M = min(I); M*!(I-M)"


EDIT:
For G'MIC 2.9.8 and above "afre" did made a filters > G'MIC > Testing > afre > Query Primary
There is even more choice than the original Maximum RGB from GIMP, and the afre's filter works like a charm :jumpclap :tyspin

_________________
Patrice


Last edited by PixLab on Fri Jul 16, 2021 3:02 am, edited 4 times in total.

Top
 Post subject: Re: RGB Max filter in older older versions, how to get it sorted in 2.
PostPosted: Thu Jul 15, 2021 7:40 pm  (#6) 
Offline
GimpChat Member

Joined: Jun 04, 2011
Posts: 80
unimagined utility in this awesome program, gimp rocks, rolls, slices & dices!


Top
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) ERROR MESSAGE WHEN CREATING AN OLDER TUTORIAL

12

No new posts Where to find links to older Gimp Scripts and plug ins

3

No new posts page of ALL GIMP versions

2

No new posts Attachment(s) JVID A thru I package with amended versions

3

No new posts Attachment(s) cli345's cartoon filter as a native GEGL Filter.

10



* Login  



Powered by phpBB3 © phpBB Group