Questions tagged [histogram]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Why is Histogram of Oriented Gradients only 0 to 180 degrees and not 0 to 360 degrees?

Why is Histogram of Oriented Gradients only 0 to 180 degrees and not 0 to 360 degrees? I can see in many videos that it's very common that atan which results values ...
euraad's user avatar
  • 405
1 vote
1 answer
137 views

main idea of Adaptive histogram equalization (AHE)

I want to understand the main idea behind AHE and the way for applying it manually with my hands. Wikipedia says: In its simplest form, each pixel is transformed based on the histogram of a square ...
hasanghaforian's user avatar
3 votes
1 answer
211 views

Mathematically show the problem of Histogram Equalization

Wikipedia - Adaptive Histogram Equalization says about classic Histogram Equalization: This works well when the distribution of pixel values is similar throughout the image. However, when the image ...
hasanghaforian's user avatar
0 votes
2 answers
196 views

purpose of histogram equalization

What is the main purpose of histogram equalization on image? Is it used to enhance contrast of image or is its goal finding a transformation which gets a more uniformly histogram? Although Wikipedia ...
hasanghaforian's user avatar
1 vote
1 answer
57 views

Help on choosing compatibility test for classification algoritm

I have designed an algorithm for classification and I need to add a suitability or compatibility test for accepting a signal as an input. Basically, not all signals are suitable for processing by my ...
GGChe's user avatar
  • 143
0 votes
0 answers
378 views

How to binarize an image using the triangle method?

I'm a college student taking an image processing class. My homework is to apply the "triangle method" on a grayscale image and binarize the image using the result. The problem is that I ...
Primpy's user avatar
  • 1
1 vote
1 answer
87 views

How fast is an histogram suppose to decay?

I am working on a software which receives streaming audio data, is expected to process that data on the fly, and then outputs the results. The module I'm working on is expected to adjust the audio ...
Alexis Wilke's user avatar
0 votes
2 answers
179 views

Inverse of filtering and inverse of equalization

Is comb filtering a reversible operation? If applied to a signal, can I restore the original signal from the filtered image? What about the histogram equalization operation? Is it reversible?
Noha's user avatar
  • 349
0 votes
0 answers
51 views

How to find the minimum no of bits required to express the filter coefficients in fixed point format from Histogram plot?

I have designed a filter in MATLAB and now I have to convert the filter coefficient in fixed point format from floating point format. For that my professor asked me to find histogram first and then ...
Himadri Debnath's user avatar
1 vote
2 answers
901 views

How can I create a histogram showing the RMS amplitude for each frequency bin of an audio file

Using Python or Matlab, how can I create a histogram in which each bin is equal to a proportional frequency range (e.g. one octave) and the data added to each bin is a count of the number of samples ...
user90664's user avatar
-1 votes
1 answer
326 views

What is the x and y axis showing for this matplotlib.pyplot histogram of a .wav file?

The python code below generates a histogram from a .wav file, but what exactly does the histogram show? Is the x axis amplitude binned by sampling rate? Is the y axis a count of how many samples are ...
user90664's user avatar
2 votes
0 answers
117 views

Multivariate Histogram / CDF Matching for Image Color Matching

Suppose X is random variable that is spatial position in finite range, which its Cumulative Distribution Function (CDF) could be calculated easily, then if I have two random variable X and Y spatial ...
itonia.x.i's user avatar
1 vote
1 answer
224 views

The Math of Histogram Matching

Please help solve the problem in the picture. I am confused due to the piecewise nature of the density functions. If it was a simple curved PDF, I would simply integrate over full range and use the ...
fac120's user avatar
  • 11
0 votes
0 answers
25 views

Which are the rules of choosing a target image for histogram matching?

With histogram matching we can transform an image's intensity distribution. But this idea is very subjective. Sometimes for choosing a target image we have options no better than a guess. But is their ...
hafiz031's user avatar
  • 143
0 votes
1 answer
199 views

'Combed' Histograms

I have two FLIR Blackfly cameras that are identical outside of one being color and the other being mono. I set the ADC of both to 10 bit, and save the images in 16 bit. This results in the combed ...
B. Erickson's user avatar
1 vote
1 answer
149 views

Making images taken under daylight conditions appear as if they were taken at night using image processing elementary techniques

I know that these days' style-transfer GANs should be able to style-transfer day images into night images. I however prefer to do it using a set of elementary image processing manipulations, so I can ...
SomethingSomething's user avatar
3 votes
2 answers
120 views

Lightweight test for bimodal distributions?

Here, and in the stats stackexchange, seem to be answers that reference tests for bimodal distributions that involve iterative binning or iterative curve fitting methods. However "eyeballing" a plot ...
hotpaw2's user avatar
  • 35.3k
3 votes
2 answers
127 views

How to plot histogram of difference of two images using MATLAB

i would like to calculate difference of two images. Then, histogram of difference of two images. So I can plot a histogram but I am not sure whether it is true or not? Also, I am not sure about what ...
beyblade41's user avatar
1 vote
0 answers
161 views

I can't implement plateau limit histogram equalization algorithm using MATLAB

i tried to implement this research paper using MATLAB. Unfortunately, my result is not same with the original result. Here is my try step by step: ...
beyblade41's user avatar
2 votes
4 answers
1k views

What Information Is Lost by Histogram Equalization?

I cannot think of a way to restore an original image after histogram equalization. But this latter seems to "enhance" (= increase contrast of) the image's details. What information is then lost by ...
Fakher Mokadem's user avatar
1 vote
1 answer
62 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 ...
rtviii's user avatar
  • 111
2 votes
2 answers
189 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 ...
user8469759's user avatar
-1 votes
1 answer
152 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 ...
Mark's user avatar
  • 1
4 votes
1 answer
201 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 ...
shunya's user avatar
  • 43
1 vote
1 answer
283 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 ...
Uno123's user avatar
  • 11
3 votes
1 answer
197 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 ...
Steve's user avatar
  • 133
2 votes
2 answers
278 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. ...
Archura's user avatar
  • 95
1 vote
0 answers
161 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 ...
user367640's user avatar
1 vote
1 answer
456 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 ...
Navdeep's user avatar
  • 265
2 votes
1 answer
132 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. ...
Raven's user avatar
  • 255
0 votes
1 answer
1k 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 ...
user2771151's user avatar
0 votes
1 answer
1k 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 ...
Ahmed Gad's user avatar
  • 103
1 vote
0 answers
74 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 ...
sleepwalking's user avatar
1 vote
2 answers
455 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 ...
havakok's user avatar
  • 672
2 votes
1 answer
168 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 ...
RuiQi's user avatar
  • 219
4 votes
2 answers
272 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 ...
Pete's user avatar
  • 41
4 votes
1 answer
1k 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 ...
ken's user avatar
  • 41
1 vote
1 answer
86 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 ...
Alexander Leon VI's user avatar
4 votes
1 answer
361 views

Equalization and then Sharpening vs Sharpening and then Equalization

This was a question from an exam of digital image processing: "Working with low contrast images, an elective method to enhance details and improve contrast is to apply in cascade an equalization of ...
Esteban Filardi's user avatar
1 vote
2 answers
755 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 ...
Elia's user avatar
  • 121
1 vote
1 answer
6k 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 ...
chronosynclastic's user avatar
0 votes
0 answers
275 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 ...
Gunshi's user avatar
  • 1
0 votes
1 answer
103 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 ...
Learner's user avatar
  • 113
0 votes
1 answer
574 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?
Carter's user avatar
  • 101
0 votes
1 answer
546 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 ...
jontyc's user avatar
  • 101
1 vote
0 answers
136 views

Convert Gaussian Like Histogram into Uniform Analytically

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$ ...
Lana Joe's user avatar
2 votes
1 answer
4k 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 ...
Dennis's user avatar
  • 141
1 vote
3 answers
369 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 ...
JEquihua's user avatar
  • 121
1 vote
1 answer
14k 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 . ...
Tanya's user avatar
  • 11
0 votes
1 answer
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. ...
CroCo's user avatar
  • 357