Rank: 187867 based on 0 downloads (last 30 days) and 0 file submitted
photo

Lino

E-mail
Company/University
UPC

Personal Profile:

Lino

Professional Interests:
Image processing,Kinect enviroment, speech processing

 

Watch this Author's files

 

Comments and Ratings by Lino
Updated File Comments Rating
23 Jan 2012 Histograms of Oriented Gradients mex function for calculating histograms of (oriented) gradients (Dalal & Triggs CVPR 2005). Author: Leo

Hi Leo
I'm trying to use this code in a Linux enviroment and Matlab crashes when I use it. The error given is the next one:

MATLAB crash file:/home/lino/matlab_crash_dump.2121
------------------------------------------------------------------------
Segmentation violation detected at Mon Jan 23 11:04:45 2012
------------------------------------------------------------------------

Configuration:
MATLAB Version: 7.8.0.347 (R2009a)
MATLAB License: 161051
Operating System: Linux 3.1.1-1-ARCH #1 SMP PREEMPT Fri Nov 11 22:28:29 CET 2011 x86_64
GNU C Library: 2.14.1 stable
Window System: The X.Org Foundation (11102000), display :0.0
Current Visual: 0x21 (class 4, depth 24)
Processor ID: x86 Family 6 Model 10 Stepping 7, GenuineIntel
Virtual Machine: Java 1.6.0_04-b12 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
Default Encoding: ISO-8859-1

Fault Count: 1

Register State:
rax = 00000000000000bf rbx = 0000000080000000
rcx = 00000003fffffff8 rdx = 0000000000000000
rbp = 00007f770ad419e0 rsi = 0000000000000001
rdi = 00007f7ae94158e8 rsp = 00007f770ad41760
r8 = 000000003fe00000 r9 = 0000000000000000
r10 = 000000003fe00000 r11 = 0000000000000000
r12 = 0000000000000240 r13 = 0000000080000001
r14 = 0000000000000019 r15 = 0000000000000009
rip = 00007f76e404591c flg = 0000000000010a92

Stack Trace:
[0] HoG.mexa64:0x00007f76e404591c(0x7f770ad424e0, 0x1a947e10, 0x19f00000150, 0x7f770ad41ab0)
[1] HoG.mexa64:mexFunction~(0x100000001, 0x7f770ad425a8, 0x127f00000001, 0x7f770ad425a8) + 485 bytes
[2] libmex.so:mexRunMexFile(0x0232c22e "HoG", 0x7f770ad425a0, 0x10ad41ac0, 0x7f770ad424e0) + 90 bytes
[3] libmex.so:Mfh_mex::runMexFileWithSignalProtection(int, mxArray_tag**, int, mxArray_tag**)(0x7f770ad41c80, 0x7f770ad42080, 0x7f770ad424e0, 0x1e9629740) + 137 bytes
[4] libmex.so:Mfh_mex::dispatch_file(int, mxArray_tag**, int, mxArray_tag**)(0x7f770ad425a0, 0x10ad42190, 0x036de6e0, 0x7f770ad43810) + 247 bytes
[5] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0x10ad421f0, 0x7f77ffffffff, 0x02cf2d90, 0x7f770ad421f0) + 282 bytes
[6] libmwm_interpreter.so:ResolverFunctionDesc::CallFunction(int, mxArray_tag**, int, mxArray_tag**)(0x100005ecd, 0x7f770ad42400, 0x7f770ad43080, 0x026c9220) + 871 bytes
[7] libmwm_interpreter.so:Resolver::CallMFunction(int, int, _m_operand*, m_operand_storage*, int, _m_operand*, m_operand_storage*, int*)(0x7f76e91f1330, 0, 0x7f770ad43250, 0x2e8ba2e8ba2e8ba3) + 1637 bytes
[8] libmwm_interpreter.so:inResolveMFunctionCall(_m_function_desc*, int, int, _m_operand*, m_operand_storage*, int, _m_operand*, m_operand_storage*, int*, inMarshalType*, int, mpsTypeSequenceNlhs const*, mxArray_tag* (*)(int))(0x7f76e91f1330, 0, 0x7f770ad43250, 0x7f770ad433f8) + 501 bytes
[9] libmwm_interpreter.so:accelImpl::MFunctionCall(_accelOp**)(0x7f770ad431e4, 0x7f76e962c298, 0x1e8a33310, 0x7f76e9623b30) + 239 bytes
[10] libmwm_interpreter.so:accelImpl::Exec()(0x7f770ad433f8, 0x7f770ad433f0, 0x7f76e96d29d0, 0x7f76e9629290) + 273 bytes
[11] libmwm_interpreter.so:accelCode::Call(inMarshalType*, int*) const(0x7f770ad433f8, 0x7f770ad433f0, 0x7f770ad433a0, 0x7f770ad433ff) + 91 bytes
[12] libmwm_interpreter.so:inJit::ExecuteHotSegment(_inJitAccelInfo*, opcodes*, int*, long*)(0x7f770ad43470, 0x7f770ad434bc, 0xffffffff0000006f, 0xffffffff00000000) + 1793 bytes
[13] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0, 0x7f770ad43750, 0, 0) + 1104 bytes
[14] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0, 32, 0x7f76e95f0390, 0x7f770ad44830) + 1411 bytes
[15] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0x0ad438b0, 0, 0x7f770ad445d0, 0x7f770ad44420) + 282 bytes
[16] libmwm_interpreter.so:inEvalPcodeHeaderToWord(_memory_context*, int, mxArray_tag**, _pcodeheader*, Mfh_mp*, unsigned int)(0x7f770ad438d0, 0x7f770ad43aa0, 0x7f770ad44620, 0) + 170 bytes
[17] libmwm_interpreter.so:in_local_call_script_function(_memory_context*, _pcodeheader*, int, mxArray_tag**, unsigned int, bool)(0x01c08700, 0x01c08790, 0x7f770ad44528, 0x7f770ad44534) + 103 bytes
[18] libmwm_interpreter.so:inEvalStringWithIsVarFcn(_memory_context*, char const*, EvalType, int, mxArray_tag**, inDebugCheck, _pcodeheader*, int*, bool (*)(void*, char const*), void*, bool, bool)(0, 0, 0x7f7718dbefc0, 0) + 2610 bytes
[19] libmwm_interpreter.so:inEvalCmdWithLocalReturn(char const*, int*, bool, bool, bool (*)(void*, char const*))(0x7f770ad44630, 0x7f76e96cd6b0 "hogs_8=HoG(I);\n", 0x7f770ad447f0, 0) + 149 bytes
[20] libmwbridge.so:evalCommandWithLongjmpSafety(char const*)(0x7f770ad44800, 0x7f770ad44850, 0x7f770ad44860, 0x7f770ad44870) + 94 bytes
[21] libmwbridge.so:mnParser(0x01b324c0, 0x02d642f0, 0x197a3101, 0x0a53fba0) + 355 bytes
[22] libmwmcr.so:mcrInstance::mnParser_on_interpreter_thread()(0x00c00000, 0xfffffffffffffc00, 0xffffffffffffffff, 0x80101020000ffff) + 41 bytes
[23] libmwmcr.so:boost::function0<void>::operator()() const(0x7f770ad44a60, 0x7f770ad449e0, 0x7f770ad449a0, 0x7f77197b7e71) + 123 bytes
[24] libmwmcr.so:mcr::runtime::InterpreterThread::Impl::NoResultInvocationRequest::run()(0x7f770ad449e0, 0x02cf3c10, 0x02f25630, 0x02cf3c10) + 21 bytes
[25] libmwmcr.so:mcr::runtime::InterpreterThread::Impl::invocation_request_handler(long)(0x7f770ad449e0, 0x7f770ad44aa0, 0x7f770ad44800, 0x3000000020) + 33 bytes
[26] libmwuix.so:uix_DispatchOrProcess(_XEvent*, _XtAppStruct*, int, bool)(0x01b37a80, 0x7f771a988b5c, 0x7f770ad44bf0, 0x1007f7700000001) + 361 bytes
[27] libmwuix.so:ws_ProcessPendingEventsHelper(int, int, bool)(9, 0x01b31060, 0x01b367a0, 0x01b36700) + 489 bytes
[28] libmwmcr.so:mcr::runtime::InterpreterThread::Impl::process_events(boost::shared_ptr<mcr::runtime::InterpreterThread::Impl> const&)(0x7f771979d000, 0x7f770ad44cf0, 0x7f76e079d5a0, 0) + 225 bytes
[29] libmwmcr.so:mcr::runtime::InterpreterThread::Impl::run(boost::shared_ptr<mcr::runtime::InterpreterThread::Impl> const&, mcr::runtime::InterpreterThread::Impl::init_context*)(0x01b36700, 0x01b367a0, 0x01b321e0, 0x7f770ad44de0) + 237 bytes
[30] libmwmcr.so:run_init_and_handle_events(void*)(0, 0x00801000, 0x7f770ad44e10, 0x00402670) + 60 bytes
[31] MATLAB:boost::function0<void>::operator()() const(0x7fff61464428, 0x200000000, 0, 0x01b321e0) + 412 bytes
[32] MATLAB:mcrMain(int, char const**)(0x7f770ad44f20, 0x7f770ad45700, 0, 0x7fff61464270) + 243 bytes
[33] libmwmcr.so:runMcrMain(void*)(0, 0x7f770ad45700, 0, 0) + 28 bytes

Contact us