# Instrumentation & Measurement Magazine 23-6 - 25

```Fig. 4. SAR images with area of interest: (a) April 10, 1992 and (b) June 21, 1996.

6.	Calculate the Histogram and normalize it to the range
[0, 255]
7.	Display backproj
8.	Draw the 1-D histogram of the image
In these steps, "Hist_and_Backproj" is a function which
collects the values of the selected channels in the input images and finds the corresponding histogram bin; the function
"backproj" calculates the probability of each element value in
relationship with the empirical probability distribution represented by the histogram.
The results are displayed in Fig. 6a and Fig. 6b. Both figures depict the processing of SAR images with an overlapping
of the rectangular area of interest in L-band (left image), while
the right image illustrates the grey levels (abscise) with respect
to pixels (ordinates). For now, we can see a peak of grey scale

Inside Python-based Program
The calcBackProject functions calculate the back project of
the histogram. That is, similar to calcHist, at each location (x, y), the function collects the values of the selected
channels in the input images and finds the corresponding histogram bin. But instead of incrementing it, the
function reads the value of the bin, scales it by scale and
stores it in backProject (x, y). In terms of statistics, the function calculates the probability of each element value in
relation to the empirical probability distribution represented by the histogram. Details are illustrated in the
instructions:

Fig. 5. Proposed open computer vision-based algorithm for processing
features within images.
September 2020

IEEE Instrumentation & Measurement Magazine	25

```

# Instrumentation & Measurement Magazine 23-6

No label
Instrumentation & Measurement Magazine 23-6 - Cover1
Instrumentation & Measurement Magazine 23-6 - No label
Instrumentation & Measurement Magazine 23-6 - 2
Instrumentation & Measurement Magazine 23-6 - 3
Instrumentation & Measurement Magazine 23-6 - 4
Instrumentation & Measurement Magazine 23-6 - 5
Instrumentation & Measurement Magazine 23-6 - 6
Instrumentation & Measurement Magazine 23-6 - 7
Instrumentation & Measurement Magazine 23-6 - 8
Instrumentation & Measurement Magazine 23-6 - 9
Instrumentation & Measurement Magazine 23-6 - 10
Instrumentation & Measurement Magazine 23-6 - 11
Instrumentation & Measurement Magazine 23-6 - 12
Instrumentation & Measurement Magazine 23-6 - 13
Instrumentation & Measurement Magazine 23-6 - 14
Instrumentation & Measurement Magazine 23-6 - 15
Instrumentation & Measurement Magazine 23-6 - 16
Instrumentation & Measurement Magazine 23-6 - 17
Instrumentation & Measurement Magazine 23-6 - 18
Instrumentation & Measurement Magazine 23-6 - 19
Instrumentation & Measurement Magazine 23-6 - 20
Instrumentation & Measurement Magazine 23-6 - 21
Instrumentation & Measurement Magazine 23-6 - 22
Instrumentation & Measurement Magazine 23-6 - 23
Instrumentation & Measurement Magazine 23-6 - 24
Instrumentation & Measurement Magazine 23-6 - 25
Instrumentation & Measurement Magazine 23-6 - 26
Instrumentation & Measurement Magazine 23-6 - 27
Instrumentation & Measurement Magazine 23-6 - 28
Instrumentation & Measurement Magazine 23-6 - 29
Instrumentation & Measurement Magazine 23-6 - 30
Instrumentation & Measurement Magazine 23-6 - 31
Instrumentation & Measurement Magazine 23-6 - 32
Instrumentation & Measurement Magazine 23-6 - 33
Instrumentation & Measurement Magazine 23-6 - 34
Instrumentation & Measurement Magazine 23-6 - 35
Instrumentation & Measurement Magazine 23-6 - 36
Instrumentation & Measurement Magazine 23-6 - 37
Instrumentation & Measurement Magazine 23-6 - 38
Instrumentation & Measurement Magazine 23-6 - 39
Instrumentation & Measurement Magazine 23-6 - 40
Instrumentation & Measurement Magazine 23-6 - 41
Instrumentation & Measurement Magazine 23-6 - 42
Instrumentation & Measurement Magazine 23-6 - 43
Instrumentation & Measurement Magazine 23-6 - 44
Instrumentation & Measurement Magazine 23-6 - 45
Instrumentation & Measurement Magazine 23-6 - 46
Instrumentation & Measurement Magazine 23-6 - 47
https://www.nxtbook.com/allen/iamm/26-1
https://www.nxtbook.com/allen/iamm/25-9
https://www.nxtbook.com/allen/iamm/25-8
https://www.nxtbook.com/allen/iamm/25-7
https://www.nxtbook.com/allen/iamm/25-6
https://www.nxtbook.com/allen/iamm/25-5
https://www.nxtbook.com/allen/iamm/25-4
https://www.nxtbook.com/allen/iamm/25-3
https://www.nxtbook.com/allen/iamm/instrumentation-measurement-magazine-25-2
https://www.nxtbook.com/allen/iamm/25-1
https://www.nxtbook.com/allen/iamm/24-9
https://www.nxtbook.com/allen/iamm/24-7
https://www.nxtbook.com/allen/iamm/24-8
https://www.nxtbook.com/allen/iamm/24-6
https://www.nxtbook.com/allen/iamm/24-5
https://www.nxtbook.com/allen/iamm/24-4
https://www.nxtbook.com/allen/iamm/24-3
https://www.nxtbook.com/allen/iamm/24-2
https://www.nxtbook.com/allen/iamm/24-1
https://www.nxtbook.com/allen/iamm/23-9
https://www.nxtbook.com/allen/iamm/23-8
https://www.nxtbook.com/allen/iamm/23-6
https://www.nxtbook.com/allen/iamm/23-5
https://www.nxtbook.com/allen/iamm/23-2
https://www.nxtbook.com/allen/iamm/23-3
https://www.nxtbook.com/allen/iamm/23-4
https://www.nxtbookmedia.com