05-01-2012 05:30 PM
Hi,
We are currently working on applying Histogram of Oriented Gradients to a collection of images.
We extracted angles and magnitude of all gradients of an image into two 2D arrays.
Next, we would like to create a weighted histogram of the angles: the higher the gradient magnitude at a given location, the stronger the vote for that particular angle.
An important fact to keep in mind is that this needs to be done over overlapping windows.
Our questions are:
- is there a VI that allows taking a window to make certain computations, then shift that window by a certain amount (defined by the user)?
Convolute 2D slides windows around an image by shifting by 1. We would like to shift by x amount.
- is there a VI to implement weighted histograms?
We have two 2D-arrays: one containing the angles to be binned, and the other containing the weights.
Your help is much appreciated,
Best regards,
N&A
05-03-2012 06:39 AM
Hi,
There is a Histogram VI that can be found on the Sound and Vibration palette. However, if you don't have this, you could try writing your data to a spreadsheet and creating a plot there.
For your first question, could you elaborate a little? What kind of windows are these? Are they VI Front Panels?
Best,
05-10-2012 12:06 PM
Sorry for the late response,
We implemented everything manually. Once we are sure our implementation of HOG is correct and complete, we will share it here.
05-13-2012 09:36 PM
That's great! And thank you for sharing your solution with the community!
05-31-2012 12:15 PM
We finished HOG a couple weeks ago. We really want to share it with the community, unfortunately, the company we work at considers it their intellectual property...
If anybody has any issue developping their own version of HoG, please let us know.
12-08-2015 08:54 PM
hi
i am studying HOG method to detect human.
but it's difficult to me. so, can you share sample HOG.vi?
thanks.
02-12-2019 05:43 AM
Hi,
I am studying this HOG right now . Do you have any solutions for the block and cells windows ? Thank you
02-13-2019 12:33 PM
There's another discussion where someone implemented this in a LabVIEW DLL.
02-13-2019 12:54 PM
Hi,
About the labview DLL , Is it the openCV ? Thank you for helping .