How to calculate the number of pixels ("Black factor")

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

How to calculate the number of pixels ("Black factor")

Post by Peter2 »

We create a lot of B/W images, and now we are thinking about plotter-costs (usage of printer-toner or plotter-ink). I would like to make an analysis of our existing images:
-> How many pixels has the image in total?
-> How many pixels are black?
(-> How many pixels are coloured? -> For 1% of the images which are not BW)

-->> What is the percentage of black/white pixels?

Any easy(!!) ideas?

Regards

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: How to calculate the number of pixels ("Black factor")

Post by Peter2 »

Nobody knows?

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
xnview
Author of XnView
Posts: 46252
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to calculate the number of pixels ("Black factor")

Post by xnview »

With XnView?
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: How to calculate the number of pixels ("Black factor")

Post by Peter2 »

xnview wrote:With XnView?
Or with something else ...(Freeware)

If possible a command-line tool for batch-commands.

Peter

EDIT: Maybe this one - http://imagej.nih.gov/ij/index.html
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
xnview
Author of XnView
Posts: 46252
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to calculate the number of pixels ("Black factor")

Post by xnview »

Yes, with GFL, it's easy
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: How to calculate the number of pixels ("Black factor")

Post by Peter2 »

xnview wrote:Yes, with GFL, it's easy
"Analyse and Report" would be a fine new feature for XnConvert, wouldn`t it? :wink:

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
Post Reply