Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
Questiondatetime Pin
Member 886489824-May-12 3:13
Member 886489824-May-12 3:13 
AnswerRe: datetime Pin
Not Active24-May-12 3:42
mentorNot Active24-May-12 3:42 
AnswerRe: datetime Pin
RobCroll24-May-12 15:55
RobCroll24-May-12 15:55 
GeneralRe: datetime Pin
jschell25-May-12 9:00
jschell25-May-12 9:00 
GeneralRe: datetime Pin
RobCroll25-May-12 16:50
RobCroll25-May-12 16:50 
GeneralRe: datetime Pin
jschell26-May-12 7:07
jschell26-May-12 7:07 
GeneralRe: datetime Pin
RobCroll26-May-12 16:18
RobCroll26-May-12 16:18 
QuestionEmgu CV, problem with wrapper for OpenCV Pin
Sissi198724-May-12 0:58
Sissi198724-May-12 0:58 
Problem with HOGDescriptor

Hi everyone! I'm developing an object detection for a project interested in robotics. I've trained an Hog descriptor to be able to detect some boxes... When I've tried to use the constuctor public
HOGDescriptor(
Size winSize,
Size blockSize,
Size blockStride,
Size cellSize,
int nbins,
int derivAperture,
double winSigma,
double L2HysThreshold,
bool gammaCorrection
) hog;

-> HOGDescriptor des = new HOGDescriptor(new Size(64, 64), new Size(16, 16), new Size(8, 8), new Size(8, 8), 9, 0, -1, 0.2, true);

with a winSize(64, 64)[different from default size of (64, 128)] for use my vector of float in
hog.SetSVMDetector(vector)

Visual studio give me a "NullReferenceException"... but I've instantiated both hog than vector! So why? I've failed in writing the constructor?

Also the parallelism with openCV is different, in fact the costructor in openCV is
HOGDescriptor(Size win_size=Size(64, 128), Size block_size=Size(16, 16),
Size block_stride=Size(8, 8), Size cell_size=Size(8, 8),
int nbins=9, double win_sigma=DEFAULT_WIN_SIGMA,
double threshold_L2hys=0.2, bool gamma_correction=true,
int nlevels=DEFAULT_NLEVELS);

but derivAperture there isn't!!!
Please help me!
Sissi
AnswerRe: Emgu CV, problem with wrapper for OpenCV Pin
Richard MacCutchan24-May-12 3:13
mveRichard MacCutchan24-May-12 3:13 
AnswerRe: Emgu CV, problem with wrapper for OpenCV Pin
Sissi198724-May-12 4:48
Sissi198724-May-12 4:48 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Mycroft Holmes24-May-12 12:32
professionalMycroft Holmes24-May-12 12:32 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Sissi198725-May-12 4:39
Sissi198725-May-12 4:39 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Richard MacCutchan24-May-12 22:25
mveRichard MacCutchan24-May-12 22:25 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Sissi198725-May-12 4:37
Sissi198725-May-12 4:37 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Richard MacCutchan25-May-12 4:54
mveRichard MacCutchan25-May-12 4:54 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Sissi198725-May-12 5:37
Sissi198725-May-12 5:37 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Richard MacCutchan25-May-12 5:53
mveRichard MacCutchan25-May-12 5:53 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Sissi198725-May-12 6:01
Sissi198725-May-12 6:01 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Richard MacCutchan25-May-12 6:41
mveRichard MacCutchan25-May-12 6:41 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Sissi198725-May-12 8:29
Sissi198725-May-12 8:29 
Questionc# combo box binding Pin
Pubudini3424-May-12 0:39
Pubudini3424-May-12 0:39 
AnswerRe: c# combo box binding Pin
Cracked-Down24-May-12 1:17
Cracked-Down24-May-12 1:17 
GeneralRe: c# combo box binding Pin
Pubudini3424-May-12 2:07
Pubudini3424-May-12 2:07 
AnswerRe: c# combo box binding Pin
Cracked-Down24-May-12 3:05
Cracked-Down24-May-12 3:05 
GeneralRe: c# combo box binding Pin
Pubudini3424-May-12 3:34
Pubudini3424-May-12 3:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.