Questions tagged [histogram]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9
votes
1answer
6k views

Opencv calcHist and calcBackProject in plain english

i've started experimenting with c++ and opencv because of i want to learn image processing. Now, my first exercise is to create a skin detector with calcHist and calcBackProject. But i don't ...
6
votes
1answer
2k views

importance of using histogram equalization

I'm reading opencv tutorials and I'm diving into histogram equalization. i have looked in wikipedia, there is a nice example that sums up exactly the problem: original: equalized: but for getting ...
4
votes
4answers
6k views

Why is histogram equalization called as “equalization”?

When output histogram is not same as reference histogram, why is the method called histogram equalization? For example below are two figures from http://en.wikipedia.org/wiki/Histogram_equalization. ...
4
votes
2answers
171 views

MATLAB: get members of histogram populations EXCLUDING those inbetween

The Problem I have a (noisy) square wave signal and need to extract the data points that make up the 'baseline' and 'plateau' ONLY. I do not want data from the rise and fall. So far I have ...
4
votes
1answer
420 views

How to detect whether a signal is unimodal or bimodal?

I have to kinds of signals. The first type of signals are such that their histograms are unimodal (one-peaked). The second type of signals are such that their histograms are bimodal (two-peaked). How ...
3
votes
1answer
7k views

What is use of a gaussian filter over histogram?

I am working in the field of digital image processing and currently i am reading this paper and I have two questions about it.... After applying a gaussian filter to a histogram, will the pixel ...
3
votes
1answer
972 views

Relation between histogram equalization and 'Auto Levels'

I need to enhance an image using only global linear adjustment of intensity, i.e.: $$I'=aI+b,\qquad a,b\in \mathbb{R}$$ where $I$ and $I'$ are input and output (enhanced) image. I already know how ...
3
votes
2answers
167 views

Optimal image histogram for Human eye

I need to visualize some data as gray-scale images after contrast enhancement. The processing algorithm must be built on few samples, and then it will be applied on unseen images (suppose, the [min, ...
3
votes
1answer
2k views

Interpolation in Contrast Limited Adaptive Histogram Equalization

I have been trying to implement the CLAHE algorithm and came across this page which states step by step procedure for the algorithm. I understand the initial steps to perform HE of tiles in the image....
3
votes
1answer
761 views

Image Contrast Enhancement based Sub-histogram Equalization Technique without Over-equalization Noise

I'm a computer science student and I have an assignment requiring me to implement the algorithm proposed by this paper but I'm hitting a roadblock trying to understand the implementation of one of the ...
3
votes
1answer
523 views

Histogram evaluation for image quality concerning illumination

I'm currently trying to develop an algorithm to control the camera characteristic of a camera (the camera characteristic can be controlled to adopt it to the different lightning situation which can ...
2
votes
2answers
97 views

Histogram Counts of a 2d Matrix

I am currently working on a project in which I have a 10 x 2 matrix: A. I want to find the top 3 number of occurrences of each row using MATLAB. ...
2
votes
1answer
859 views

Lesser bins histogram looks more equalised than higher bins histogram after histogram equalisation?

I tried to do a histogram equalisation on an image, and then display its histogram. I realise that when I show the histogram with 10 bins, it looks more "equalised" than when I show the histogram with ...
2
votes
3answers
710 views

Why histogram equalization fail in enhance images for bimodal histogram?

I'm on histogram equalization process. I have quite well understood the math but i don't understand why an histogram on bimodal image fails in image enhancement and what techniques can be used in this ...
2
votes
1answer
107 views

Histogram estimation (from sub-set of image pixels)

Problem: How to find gray-scale image histogram without iterating all pixels and binning them. Description: Suppose that I have large set of images with no common scene and of different resolutions. ...
2
votes
1answer
3k views

Histogram Intersection with two different bin sizes?

I have two images: A and B. Image A is a screenshot of image B, the original image. While there is noise in image A, the original features are still distinguishable. Histogram intersection tells us ...
2
votes
1answer
159 views

Histogram operation for improving visual object tracking

I'm developping a people tracking with nearest neighbour data association technique and kalman filter for smoothing/predicting. The tracker works quite good but sometimes it mismatch objects if they ...
2
votes
1answer
561 views

Histogram of signal with a time shift added

One of the problems in Proakis's signal processing book using Matlab asks to plot the histogram of x3(n) = x1(n) + x1(n-1) where ...
1
vote
1answer
12k views

Histogram matching of two images using cdf

I have already calculated the cdf values of each image now i have to map the reference image values to target . I cannot use histogram equalization or interpolation I simply have to map them . ...
1
vote
1answer
4k views

Histogram matching (specification) in Python

I'm trying to implement an algorithm in which I first pad each row of the image with a fixed amount of new pixels in a certain range, apply Gaussian smoothing to the row cumulative histograms in ...
1
vote
3answers
122 views

float image to integer type image

I have a multispectral satellite image and I would like to "transform" each of the image bands into one with integer values. For example to stretch? the image between 0 and 255. Not sure how to ...
1
vote
1answer
227 views

Entropy of enhanced image more than the original image

It is said that the entropy of an image is the information that it contains. Let us assume, that the entropy of an image f(x,y) is ...
1
vote
2answers
316 views

How to Generate a vector map for histogram equalization

Assuming I have a gray scale image Im with $0:255$ levels of gray, I want to generate a vector map that will preform a histogram equalization on the image. I have ...
1
vote
1answer
79 views

How to gather similar objects in an image?

I am working in a traffic tracking app, I am using a background subtraction approach to obtain information about the moving vehicles. After some morphological operations I obtain blobs of the moving ...
1
vote
1answer
875 views

What steps come after finding the gradients of the SIFT key points?

I am using a SIFT algorithm to extract features from an image. I understand that the SIFT descriptor first finds the extrema and then finds the gradient and direction of each of these interest points....
1
vote
1answer
58 views

What Is a Weighted Local Histogram?

I'm reading through a couple of academic papers, and this terms often comes up "local weighted histogram". An example of quote is the following: First, cumulative histograms are built for every ...
1
vote
1answer
77 views

Image Histogram - What Is the Interpretation of PDF

For digital images (assume 2D gray scale image), the normalised intensity histogram is often treated as the probability distribution function of the intensity ie., intensity is treated as a random ...
1
vote
0answers
55 views

Applications for adaptive and non adaptive histogram equalization

I have a question regarding histogram equalization and adaptive histogram equalization. In which circumstance would it be preferable to use adaptive histogram equalization over histogram equalization ...
1
vote
0answers
56 views

Watermark insertion process in image

I'm new in the field of image processing and I'am trying to implement a watermarking algorithm (for medical images in DICOM format) based on this paper. As written in the paper, this algorithm is ...
1
vote
0answers
1k views

Measuring sharpness/contrast for autofocus

For the implementation of an auto-focus for the raspberry cam I need some measure of image sharpness. I used the following sample picture: The first approach was to compute the shannon entropy of the ...
1
vote
2answers
521 views

CLAHE - Redistributing excess pixels among histogram bins

In order to clip an image's histogram to a maximum value, according to the CLAHE algorithm, the excess pixels (above the clip limit) will be distributed equally among all the histogram bins (While ...
1
vote
0answers
115 views

Gonzalez question solution

If I have the histogram of an input image as Gaussian probability density function of the form: $$P_r(r)=\dfrac{1}{\sqrt{2\pi}\sigma}e^{-\dfrac{(r-\mu)^2}{2\sigma^2}} $$ where: $\mu$ and $\sigma$ ...
1
vote
0answers
425 views

GLOBAL THRESHOLDING using histogram

There is a recursive way of finding threshold in the image using histogram that are biomodal, and is as follows: An automated procedure for bimodal histograms : Select an initial estimate of T ...
1
vote
0answers
750 views

Local histogram equalization

I want to learn computer vision and so I downloaded image processing slides from my university archive. I'm on histogram equalization. Learning about local histogram equalization points me out to this ...
0
votes
2answers
428 views

How to create a band limited signal of sine waves that is nearly uniform distributed

I would like to create a signal that is nearly uniform distributed (as depicted in Figure 1). It must consist of some single sine waves (e. g. 400 Hz, 430 Hz, 500 Hz) or a random band limited signal (...
0
votes
1answer
25 views

MATLAB Image-Processing Toolbox: asking for a roadmap!

I plant trees in the north of BC for a living and have next to none sp experience, please be gentle :^] TLDR: The problem is essentially this: tracking and calculating the "height" of three ...
0
votes
1answer
36 views

From Uniform to 2D gaussian

I have a 2D uniform distribution. I would like to assign probability-weights in the distribution, according to the standard deviation to convert the distribution into a 2D gaussian. I know how to do ...
0
votes
1answer
82 views

Image Contrast Enhancement Threshold Selection

I have a a set of 24bit images with bright reflective spots washing out the underlying detail. While I'm interested in tone mapping algorithms, since these bright spots are purely noise I would like ...
0
votes
1answer
566 views

Histogram Equalization Ignoring zero in Python

I wrote a small python code for histogram equalization (ignoring zero values) for an image but it is taking too long to run. Code is written with reference to wikipedia article on histogram ...
0
votes
1answer
90 views

Histogram Equalization

I am reading the etext on Digital Image Processing by Gonzalez and under the section on Histogram Equalization, an equation which is apparently basic is shown. I have no clue what the equation means ...
0
votes
1answer
90 views

Noise in Digital image

in Digital Image Processing restoration ,from my understanding after reading articles , it's seems that the noise must be dominant in the histogram of the image , which is make it possible , to get ...
0
votes
1answer
457 views

Does anyone know how to overlay a equalized CDF plot with equalized histogram in matlab?

I am willing to overlay a equalized cdf with equalized histogram in matlab. But it's really hard to find any recommends. so if you can, would you please let me know about that?
0
votes
1answer
423 views

Getting 16 bit image statistics in Photoshop

The histogram in Photoshop for a 16-bit image downsamples to 8 bits, showing a tonal range of 0 to 255. I appreciate to show tonal ranges for a 16 bit image a horizontal zoom function would be ...
0
votes
1answer
2k views

Histogram and binary image in opencv? [closed]

I would like to compute how many zeros and ones (e.i. 255) in a binary image. The following code to generate a binary image by using Matlab. ...
0
votes
0answers
18 views

Hisotgram equalisation error, help with my code

Iam working on implenting a histogram equalisation of an image without using inbuilt functions specifcally imhist and histeq, I have, for the most part understood what do during a histogram ...
0
votes
0answers
14 views

Amplifying the difference of luminance between pixels of color images?

I'm doing some research on digital watermarking and came across an article that embeds QR codes on mostly grayscale images and the extraction part for color images is quite confusing the article ...
0
votes
1answer
59 views

Harmonics in Quantal Histogram

I'm studying what I believe to be a system that produces a (noisy) quantal response (i.e. there should be a minimum increment of response). To do this, I've plotted a histogram of some ~6000 amplitude ...
0
votes
1answer
752 views

Python: How to calculate image perimeter orientation histogram?

I would like to find the perimeter orientation histogram of an object inside an image. The object is returned into an array but I don`t know how to find the orientation of its perimeter. I think the ...
0
votes
0answers
97 views

How do i detect if an image has a gradient or not?

I have coloured images, some may be just clipart, some may be artwork, both could be with or without gradients. Before i run a colour counting algorithm on them, i want to detect if the image has ...
0
votes
0answers
522 views

Distance-metric for SIFT descriptors matching

Will using Cosine-Similarity or Histogram Intersection as distance-metric, for matching SIFT descriptors, help to get better results? Anybody tried on that ever?