Questions tagged [histogram]
For code that works with histograms of data - as input, output or both.
70 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
231
views
Histogram Class Implementation using std::variant for Image in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++, histogram Template Function Implementation for Image in C++, Histogram of ...
5
votes
1
answer
118
views
Histogram Class Implementation for Image in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++, histogram Template Function Implementation for Image in C++, Histogram of ...
4
votes
1
answer
241
views
normalize_histogram Template Function Implementation for Image in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++, histogram Template Function Implementation for Image in C++, Histogram of ...
5
votes
1
answer
86
views
histogram_normalized and histogram_with_bins Template Functions Implementation for Image in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++, histogram Template Function Implementation for Image in C++ and Histogram of ...
9
votes
2
answers
514
views
Correctly sum pixel values into bins of angle relative to center
A quick way to try to do this would be to use scipy.ndimage.map_coordinates, mapping radius to one axis of a rectangular array, and angle to the other, then summing along the radius axis.
But, I think ...
5
votes
1
answer
104
views
Compute median of a histogram
Another look at finding median value. This time the input is a histogram represented as an ordered range of (value, count) pairs, or simply as a range of counts, with value inferred from position. I'...
3
votes
3
answers
165
views
Get histogram of bytes in any set of files in Java - take III
(This post is the continuation of Get histogram of bytes in any set of files in Java - take II.)
This time my code looks like as follows:
...
4
votes
1
answer
172
views
Get histogram of bytes in any set of files in Java - take II
Intro
This post is the continuation of Get histogram of bytes in any set of files in Java. This time, I have incorporated all (?) the suggestions provided by Alexander Ivanchenko.
The entire ...
3
votes
1
answer
194
views
Get histogram of bytes in any set of files in Java
Intro
(This post has a continuation at Get histogram of bytes in any set of files in Java - take II.)
This time I decided to rewrite the byte histogram counters in C++ [1][2][3] to Java. Usage is the ...
5
votes
2
answers
443
views
Get histogram of bytes in any set of files in C++20
Intro
This post is the continuation of Get histogram of bytes in any set of files in C++14 - take II. This time, I have incorporated almost all suggestions in the answers.
Code
My newest trial looks ...
4
votes
1
answer
397
views
Get histogram of bytes in any set of files in C++14 - take II
Intro
(This post is the continuation of Get histogram of bytes in any set of files in C++14.)
This time I have added some ASCII art for visualizing the histogram. Also, if the program is invoked ...
4
votes
3
answers
962
views
Get histogram of bytes in any set of files in C++14
Intro
(This post has a continuation Get histogram of bytes in any set of files in C++14 - take II.)
For the sake of practice, I wrote this short program. It asks any set of file names and it produces ...
6
votes
2
answers
689
views
Histogram manipulation
I want to optimize the code to run faster, so I started with parallelizing the for loops, but the code still not very fast. I do get variable frames per second, ...
2
votes
1
answer
164
views
K&R "The C Programming Language" exercise 1-13: histograms
Exercise 1-13. Write a program to print a histogram of the lengths of
words in its input. It is easy to draw the histogram with the bars
horizontal; a vertical orientation is more challenging.
The ...
5
votes
0
answers
84
views