It is currently Sun Aug 09, 2026 8:31 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Pixel area of selection
PostPosted: Tue Sep 27, 2011 4:15 pm  (#1) 
Offline
GimpChat Member

Joined: Sep 13, 2011
Posts: 77
GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Beginner Level



Is there some tool or a script that allows to know how many pixels there are inside a selection and around it(the area and perimeter of a selection)?

_________________
Using Windows Vista 32 bits, 3GBRAM, Intel core 2 Quad Q6600 2.4Ghz, Radeon HD 3450 graphics card, Lambda Lexicon USB audio interface.


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: Pixel area of selection
PostPosted: Tue Sep 27, 2011 4:40 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
There is "Colors->Info->Histogram" which will instruct about the number of pixels, but bear in mind that the value presented is weighted by the amount of the selection (i.e., selections are not either/or, feathered selections are only partially "selected"). As to the perimeter of a selection, I do not know of a direct method, though a script could probably be written.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Pixel area of selection
PostPosted: Tue Sep 27, 2011 4:59 pm  (#3) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Isomage has one here - but I have not tried it:

http://axiscity.hexamon.net/users/isoma ... ion-stats/

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Pixel area of selection
PostPosted: Tue Oct 04, 2011 6:19 am  (#4) 
Offline
GimpChat Member

Joined: Sep 13, 2011
Posts: 77
Thanks Both utilities helped a lot.

_________________
Using Windows Vista 32 bits, 3GBRAM, Intel core 2 Quad Q6600 2.4Ghz, Radeon HD 3450 graphics card, Lambda Lexicon USB audio interface.


Top
 Post subject: Re: Pixel area of selection
PostPosted: Tue Oct 04, 2011 4:35 pm  (#5) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
saulgoode wrote:
There is "Colors->Info->Histogram" which will instruct about the number of pixels, but bear in mind that the value presented is weighted by the amount of the selection (i.e., selections are not either/or, feathered selections are only partially "selected"). As to the perimeter of a selection, I do not know of a direct method, though a script could probably be written.

You can obtain a path from the selection and then ask for the length of the strokes produced. But this can only be indicative, the length of the perimeter of a selection will depend a lot to what accuracy you measure it.

_________________
Image


Top
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group