Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to calculate the average histogram from historgam of two images

Hi

 

Is there any smart way to find the average histogram from histograms of several images? Can someone enlighten me?

 

Bugi

0 Kudos
Message 1 of 4
(8,023 Views)

As long as each histogram is calculated using the same range, you can just add them together and divide by the number of histograms.  You might need to extract the Y data from a bundled graph.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 4
(8,010 Views)

Thanks Bruce

 

Do you mean something like this in the vi that I send? How should I then calculate a threshold from this resulting histogram? I have two classes of images c1 and c2. What I want to do is calculate HistAver=1/2(HavC1+HavC2), where HavC1, HavC2 are average histograms of each class respectively. In the end I would like to get the threshold for the entire database based on the HistAver. Is this doable?

 

Bugi

0 Kudos
Message 3 of 4
(8,001 Views)

pershendetje kreshnik,

 

 do kisha deshire te te kontakoja ne radhe te pare si shqiptar e ne radhe e dyte doja te te beja disa pyetje per sa i perket analizes se figurave, une sapo kam filluar te merrem me to.

emaili im eshte karanit@yahoo.com

degjohemi

0 Kudos
Message 4 of 4
(7,884 Views)