The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Hog descriptor
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
amira ali

Posts: 160
Registered: 5/15/11
Hog descriptor
Posted: Apr 26, 2013 7:42 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

can anyone help me please,i use hog descriptor to descripe detected interest poins ,

hog descriptor steps:
1- take image and compute gradient of graysacle input image then descripe it.

how can i update it to compute HOF (histogram of optical flow)??as the ouput of optical flow is gradient magnitudes from optical flow fields , so really i compute gradient for opticl flow
so i don't need to compute gradient again in embeded code of HOG

keypoints = cv.FAST(im,'Threshold',30,'NonMaxSupression',1);
hog = cv.HOGDescriptor('WinSize',[16,16],'BlockSize',[8,8],'BlockStride',[4,4],'CellSize',[4,4] );
descriptors = hog.compute(im, 'Locations', {});first shape decriptor

prevIm = cv.cvtColor(imread('test\img1.jpeg'),'RGB2GRAY');
nextIm = cv.cvtColor(imread('test\img2.jpeg'),'RGB2GRAY');
flow = cv.calcOpticalFlowFarneback(prevIm, nextIm);
****magnitudeImage = (Fx.^2 + Fy.^2 ).^0.5;
descriptors2 = hog.compute(im2uint8(magnitudeImage) , 'Locations', {});???????????/is this true****second motion descriptor

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.