How to use undistortImage function ?

7 views (last 30 days)
Hi everybody ! I'm writting a simple program to undistort images. I'm working with matlab 2015b (Computer Vision System included). No problem to get the images (9 reference images with a checkboard in total, all extracted from the same video sequence), to generate the camera parameters, but each time i'm using the undistortImage function, Matlab crashes. I tried by using the cameraCalibration App and by writting all the code, results are the same.
Any idea of the problem ?
Here is my code :
clear all
close al
clc
images = imageSet(fullfile('C:\Users\Lise\Documents\MATLAB'));
[imagePoints, boardSize, imagesUsed] = detectCherckerboardPoints(images.ImageLocation);
squareSize = 50;
workdPoints = generateCheckerboardPoints(boardSize, squareSize);
cameraParams = estimateCameraParameters(imagePoints, worldPoints);
I = image.read(1);
[J, newOrigin] = undistortImage(I, cameraParams);
The matlab message before closing : (this window opens 2 times)
MATLAB Sysem Error
Matlab has encounted an internal problem and needs to close. The unsaved information you were working on may be lost. We are sorry for the inconvenience. Click Never Send to disable sending information to MathWorks (saved un preference). Click Send to send this information to MathWorks. Click End Now to close MATLAB now. Click Attemps to continue to try return briefly to MATLAB. You might be able to save your work. Do not continue your MATLAB session after trying to save your work. Further operations are unreliable. You must close and restart MATLAB in order for the program to operate correctly. Click Details to see what will be sent to MathWorks if the Send button is clicked.
Thx !! :)
  2 Comments
Lise OCH
Lise OCH on 22 Feb 2016
I'm using detectCheckerboardPoints to detect calibration patterns. One of the values this function gives back is imagePoints which is, in my case, 110x2x34 double.
I have to use imagePoints again when computing the cameraParams with the estimateCameraParameters function : things works properly for this.
However, i also have to use imagePoints to compute the extrinsics parameters with the line [rotationMatrix, translationVector] = extrinsics(imagePoints, worldPoints, cameraParams);
In this case : impossible to compute : Matlab expect imagePoints to be 2-dimentionnal. I can compute by using only a part of imagePoints, i.e. imagePoints02 = imagePoints(:,:,1).
.
Could this be linked to the problem ? If the variable imagePoints is wrong, could it make Matlab crash ?
Thx :)
Lise OCH
Lise OCH on 22 Feb 2016
Another information : I did several videos with the same camera. Then extracted pictures from each video. If I compute the camera parameters with the pictures from the first video, i get some results, but when i compute the same camera parameters from the pictures of the second video, results are not the same.
For exemple, one of the feature of the camera parameters is radial distortion. I don't get the same radial distortion by using 2 differents set of images whereas they were taken with same camera : Images 01 -> RadialDistortion : [-0.1232 0.7067] ; and for Images 02 -> RadialDistortion : [-0.3058 -0.2878].
What could make this problem ?

Sign in to comment.

Accepted Answer

Lise OCH
Lise OCH on 22 Feb 2016
Edited: Walter Roberson on 9 Mar 2016
And from the second crash window :
MATLAB crash file:C:\Users\Lise\AppData\Local\Temp\matlab_crash_dump.392-2:
------------------------------------------------------------------------
Illegal instruction detected at Mon Feb 22 17:31:14 2016
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: Microsoft Corporation GDI Generic Version 1.1.0
Default Encoding : windows-1252
Graphics card 1 : (Types d’écrans standard) ( 0x8086 ) Carte graphique VGA standard Version 6.1.7600.16385
Host Name : Lise-SuperDELL
MATLAB Architecture : win64
MATLAB Root : C:\Program Files\MATLAB\R2015b
MATLAB Version : 8.6.0.267246 (R2015b)
OpenGL : software
Operating System : Microsoft Windows 7 Édition Familiale Premium
Processor ID : x86 Family 6 Model 58 Stepping 9, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 6.1 (Build 7600)
Fault Count: 2
Abnormal termination:
Illegal instruction
Register State (from fault):
RAX = 00000000000000b3 RBX = 000000000000b3b4
RCX = 00000000be07113c RDX = 0000000019670497
RSP = 0000000004028938 RBP = 0000000000000437
RSI = 0000000000000438 RDI = 0000000026ec0060
R8 = 00000000a378113c R9 = 0000000000000000
R10 = 0000000000000000 R11 = 0000000026ec1de4
R12 = 0000000000000438 R13 = 00000000be070060
R14 = 0000000019670060 R15 = 00000000a3780060
RIP = 000007feebe5cd00 EFL = 00010202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x000007feebe5cd00 C:\Program Files\MATLAB\R2015b\bin\win64\libmwipp.dll+03656960 ippiWarpAffine_8u_C1R+03629200
[ 1] 0x0000000000000438 <unknown-module>+00000000
[ 2] 0x0000000026ec0060 <unknown-module>+00000000
[ 3] 0x0000000000000438 <unknown-module>+00000000
[ 4] 0x000007feebc43acc C:\Program Files\MATLAB\R2015b\bin\win64\libmwipp.dll+01456844 ippiWarpAffine_8u_C1R+01429084
[ 5] 0x00000000166337f7 C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00014327
[ 6] 0x00000000166315ad C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00005549
[ 7] 0x0000000016634ac6 C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00019142
[ 8] 0x000007fef3d0c882 C:\Program Files\MATLAB\R2015b\bin\win64\tbb.dll+00116866 tbb::interface7::internal::task_arena_base::internal_wait+00013042
[ 9] 0x000007fef3d0c0ae C:\Program Files\MATLAB\R2015b\bin\win64\tbb.dll+00114862 tbb::interface7::internal::task_arena_base::internal_wait+00011038
[ 10] 0x0000000016632045 C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00008261
[ 11] 0x0000000016635d61 C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00023905 mexFunction+00000833
[ 12] 0x00000000fc5f7551 C:\Program Files\MATLAB\R2015b\bin\win64\libmex.dll+00095569 mexRunMexFile+00000129
[ 13] 0x00000000fc5f6872 C:\Program Files\MATLAB\R2015b\bin\win64\libmex.dll+00092274 inSwapMexfileReader+00000594
[ 14] 0x00000000fc5f6426 C:\Program Files\MATLAB\R2015b\bin\win64\libmex.dll+00091174 mexUnlock+00004998
[ 15] 0x0000000007474cc3 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00019651 Mfh_file::dispatch_fh_impl+00000531
[ 16] 0x000000000747488e C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00018574 Mfh_file::dispatch_fh+00000062
[ 17] 0x00000000074751e8 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00020968 Mfunction_handle::dispatch+00000968
[ 18] 0x000000000f2acdcb C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00052683
[ 19] 0x000000000f2acd55 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00052565
[ 20] 0x000000000f2acc5d C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00052317
[ 21] 0x000000000f2ccb0a C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00183050
[ 22] 0x000000000f2c1864 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00137316
[ 23] 0x000000000f2c0495 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00132245
[ 24] 0x000000000f2e79f6 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00293366
[ 25] 0x000000000f2e7811 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00292881
[ 26] 0x000000000f2e76c0 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00292544
[ 27] 0x0000000007475498 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00021656 Mfh_MATLAB_fn::dispatch_fh+00000600
[ 28] 0x000000000f2e8ccd C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00298189
[ 29] 0x0000000008c57aed C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01342189 MathWorks::lxe::ReleaseCurrentMcrContext+00448317
[ 30] 0x0000000008c57a5d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01342045 MathWorks::lxe::ReleaseCurrentMcrContext+00448173
[ 31] 0x0000000008b3a0d8 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172248
[ 32] 0x0000000008b3a057 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172119
[ 33] 0x0000000008b39fbb C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171963
[ 34] 0x0000000008b39ec6 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171718
[ 35] 0x0000000008b39e2d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171565
[ 36] 0x0000000008c5ac93 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354899 MathWorks::lxe::ReleaseCurrentMcrContext+00461027
[ 37] 0x0000000008c5ac04 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354756 MathWorks::lxe::ReleaseCurrentMcrContext+00460884
[ 38] 0x0000000008b6ab5f C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00371551
[ 39] 0x0000000008b69810 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00366608
[ 40] 0x0000000008b996e1 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562913
[ 41] 0x0000000008b99406 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562182
[ 42] 0x0000000008b2f9d4 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00129492
[ 43] 0x0000000008b3a1ac C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172460
[ 44] 0x0000000008b3bd7d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00179581
[ 45] 0x0000000007474cc3 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00019651 Mfh_file::dispatch_fh_impl+00000531
[ 46] 0x000000000747488e C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00018574 Mfh_file::dispatch_fh+00000062
[ 47] 0x00000000074751e8 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00020968 Mfunction_handle::dispatch+00000968
[ 48] 0x000000000f2acdcb C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00052683
[ 49] 0x000000000f2acd55 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00052565
[ 50] 0x000000000f2acc5d C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00052317
[ 51] 0x000000000f2ccb0a C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00183050
[ 52] 0x000000000f2c1864 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00137316
[ 53] 0x000000000f2c0495 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00132245
[ 54] 0x000000000f2e79f6 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00293366
[ 55] 0x000000000f2e7811 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00292881
[ 56] 0x000000000f2e76c0 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00292544
[ 57] 0x0000000007475498 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00021656 Mfh_MATLAB_fn::dispatch_fh+00000600
[ 58] 0x000000000f2e8ccd C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00298189
[ 59] 0x0000000008b6269c C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00337564
[ 60] 0x0000000008b3a0d8 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172248
[ 61] 0x0000000008b3a057 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172119
[ 62] 0x0000000008b39fbb C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171963
[ 63] 0x0000000008b39ec6 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171718
[ 64] 0x0000000008b39e2d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171565
[ 65] 0x0000000008c5ac93 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354899 MathWorks::lxe::ReleaseCurrentMcrContext+00461027
[ 66] 0x0000000008c5ac04 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354756 MathWorks::lxe::ReleaseCurrentMcrContext+00460884
[ 67] 0x0000000008b6ab5f C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00371551
[ 68] 0x0000000008b69810 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00366608
[ 69] 0x0000000008b996e1 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562913
[ 70] 0x0000000008b99406 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562182
[ 71] 0x0000000008b51916 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00268566
[ 72] 0x0000000008b3a1ef C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172527
[ 73] 0x0000000008cc8048 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01802312 boost::archive::detail::oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptor>::oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptor>+00218984
[ 74] 0x0000000007474cc3 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00019651 Mfh_file::dispatch_fh_impl+00000531
[ 75] 0x000000000747483e C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00018494 Mfh_file::dispatch_fh_with_reuse+00000062
[ 76] 0x0000000008c57aed C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01342189 MathWorks::lxe::ReleaseCurrentMcrContext+00448317
[ 77] 0x0000000008c57a5d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01342045 MathWorks::lxe::ReleaseCurrentMcrContext+00448173
[ 78] 0x0000000008b3a0d8 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172248
[ 79] 0x0000000008b3a057 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172119
[ 80] 0x0000000008b39fbb C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171963
[ 81] 0x0000000008b39ec6 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171718
[ 82] 0x0000000008b39e2d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171565
[ 83] 0x0000000008c5ac93 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354899 MathWorks::lxe::ReleaseCurrentMcrContext+00461027
[ 84] 0x0000000008c5ac04 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354756 MathWorks::lxe::ReleaseCurrentMcrContext+00460884
[ 85] 0x0000000008b6ab5f C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00371551
[ 86] 0x0000000008b69810 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00366608
[ 87] 0x0000000008b996e1 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562913
[ 88] 0x0000000008b99406 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562182
[ 89] 0x0000000008bfc23f C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00967231 MathWorks::lxe::ReleaseCurrentMcrContext+00073359
[ 90] 0x0000000008bfc146 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00966982 MathWorks::lxe::ReleaseCurrentMcrContext+00073110
[ 91] 0x0000000008bfbc56 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00965718 MathWorks::lxe::ReleaseCurrentMcrContext+00071846
[ 92] 0x0000000008b80b14 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00461588
[ 93] 0x0000000008b80adc C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00461532
[ 94] 0x0000000008b8091a C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00461082
[ 95] 0x0000000008b80802 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00460802
[ 96] 0x00000000075f60a1 C:\Program Files\MATLAB\R2015b\bin\win64\m_interpreter.dll+00680097 inEvalCmdWithLocalReturn+00000065
[ 97] 0x0000000008ad29bd C:\Program Files\MATLAB\R2015b\bin\win64\libmwbridge.dll+00076221 mnGetPrompt+00003597
[ 98] 0x0000000008ad3597 C:\Program Files\MATLAB\R2015b\bin\win64\libmwbridge.dll+00079255 mnParser+00001079
[ 99] 0x0000000008a287a4 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00362404 mcrInstance::mnParser_on_interpreter_thread+00000036
[100] 0x00000000089fc477 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00181367 mcr::runtime::setInterpreterThreadToCurrent+00019751
[101] 0x00000000089fc4b3 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00181427 mcr::runtime::setInterpreterThreadToCurrent+00019811
[102] 0x00000000089fccb1 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00183473 mcr::runtime::setInterpreterThreadToCurrent+00021857
[103] 0x00000000fab62aa6 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00535206 UIW_AttachThreadInput+00001270
[104] 0x00000000fab62335 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00533301 wsd_to_MSW+00004181
[105] 0x00000000fab623b9 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00533433 wsd_to_MSW+00004313
[106] 0x0000000076b58fea C:\Windows\system32\USER32.dll+00167914 GetMessagePos+00001114
[107] 0x0000000076b4201b C:\Windows\system32\USER32.dll+00073755 SystemParametersInfoW+00000235
[108] 0x0000000076b47195 C:\Windows\system32\USER32.dll+00094613 GetGUIThreadInfo+00000469
[109] 0x0000000076d9fdf5 C:\Windows\SYSTEM32\ntdll.dll+00327157 KiUserCallbackDispatcher+00000031
[110] 0x0000000076b4bb2a C:\Windows\system32\USER32.dll+00113450 PeekMessageW+00000186
[111] 0x0000000076b461a6 C:\Windows\system32\USER32.dll+00090534 PeekMessageA+00000198
[112] 0x0000000076b46137 C:\Windows\system32\USER32.dll+00090423 PeekMessageA+00000087
[113] 0x00000000fab0e1cb C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00188875 UIW_ShowMenuItem+00005547
[114] 0x00000000fab634c2 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00537794 UIW_SuspendAttachThreadInput+00000690
[115] 0x00000000044b0ad3 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01510099 services::system_events::PpeDispatchHook::dispatchOne+00032291
[116] 0x00000000044bc785 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01558405 sysq::addProcessPendingEventsUnitTestHook+00006101
[117] 0x00000000044bc830 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01558576 sysq::addProcessPendingEventsUnitTestHook+00006272
[118] 0x00000000044be475 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01565813 sysq::getCondition+00004197
[119] 0x00000000044bfe22 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01572386 svWS_ProcessPendingEvents+00000162
[120] 0x00000000089fd3cd C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00185293 mcr::runtime::setInterpreterThreadToCurrent+00023677
[121] 0x00000000089fe03a C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00188474 mcr::runtime::setInterpreterThreadToCurrent+00026858
[122] 0x00000000089f5c95 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00154773 mcr_process_events+00007557
[123] 0x00000000089f75a2 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00161186 mcr_process_events+00013970
[124] 0x00000000052237ae C:\Program Files\MATLAB\R2015b\bin\win64\MVMLocal.dll+00210862 mvm_server::inproc::LocalFactory::terminate+00081678
[125] 0x00000000fa924d99 C:\Program Files\MATLAB\R2015b\bin\win64\mvm.dll+01002905 mvm::detail::initLocalMvmHack+00000537
[126] 0x00000000fa925368 C:\Program Files\MATLAB\R2015b\bin\win64\mvm.dll+01004392 mvm::detail::SessionImpl::privateSession+00000376
[127] 0x00000000fa9255b2 C:\Program Files\MATLAB\R2015b\bin\win64\mvm.dll+01004978 mvm::detail::SessionImpl::privateSession+00000962
Abnormal termination:
Illegal instruction
Register State (from fault):
RAX = 0000000000000077 RBX = 0000000000007878
RCX = 00000000be46593c RDX = 000000001976d697
RSP = 0000000026eb1f18 RBP = 0000000000000437
RSI = 0000000000000438 RDI = 0000000026ec0060
R8 = 00000000a3b7593c R9 = 0000000000000000
R10 = 0000000000000000 R11 = 0000000026fbd696
R12 = 0000000000000438 R13 = 00000000be464860
R14 = 000000001976d260 R15 = 00000000a3b74860
RIP = 000007feebe5cd00 EFL = 00010206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x000007feebe5cd00 C:\Program Files\MATLAB\R2015b\bin\win64\libmwipp.dll+03656960 ippiWarpAffine_8u_C1R+03629200
[ 1] 0x0000000000000438 <unknown-module>+00000000
[ 2] 0x0000000026ec0060 <unknown-module>+00000000
[ 3] 0x0000000000000438 <unknown-module>+00000000
[ 4] 0x000007feebc43acc C:\Program Files\MATLAB\R2015b\bin\win64\libmwipp.dll+01456844 ippiWarpAffine_8u_C1R+01429084
[ 5] 0x00000000166337f7 C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00014327
[ 6] 0x00000000166315ad C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00005549
[ 7] 0x0000000016634ac6 C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00019142
[ 8] 0x000007fef3d0c882 C:\Program Files\MATLAB\R2015b\bin\win64\tbb.dll+00116866 tbb::interface7::internal::task_arena_base::internal_wait+00013042
[ 9] 0x000007fef3d09f5f C:\Program Files\MATLAB\R2015b\bin\win64\tbb.dll+00106335 tbb::interface7::internal::task_arena_base::internal_wait+00002511
[ 10] 0x000007fef3d06d84 C:\Program Files\MATLAB\R2015b\bin\win64\tbb.dll+00093572 tbb::task_scheduler_init::terminate+00003428
[ 11] 0x000007fef3d012a8 C:\Program Files\MATLAB\R2015b\bin\win64\tbb.dll+00070312 tbb::internal::thread_yield_v3+00004488
[ 12] 0x000007fef3d0154b C:\Program Files\MATLAB\R2015b\bin\win64\tbb.dll+00070987 tbb::internal::thread_yield_v3+00005163
[ 13] 0x000007fef6903fef C:\Program Files\MATLAB\R2015b\bin\win64\MSVCR110.dll+00147439 beginthreadex+00000263
[ 14] 0x000007fef6904196 C:\Program Files\MATLAB\R2015b\bin\win64\MSVCR110.dll+00147862 endthreadex+00000402
[ 15] 0x0000000076c4f56d C:\Windows\system32\kernel32.dll+00128365 BaseThreadInitThunk+00000013
[ 16] 0x0000000076d83281 C:\Windows\SYSTEM32\ntdll.dll+00209537 RtlUserThreadStart+00000033
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.
  6 Comments
Dima Lisin
Dima Lisin on 22 Feb 2016
Thanks.
Everything will still work with IPP turned off, but many functions will be slower.
Also, it is better not to use JPEG for your calibration images. The lossy compression creates artifacts, which reduce the checkerboard detection accuracy. Use TIFF or PNG.
Lise OCH
Lise OCH on 23 Feb 2016
Then I'll use TIFF images. Thank you for everything, you were very helpful.
Have a nice day :)

Sign in to comment.

More Answers (3)

Dima Lisin
Dima Lisin on 22 Feb 2016
Hi Lise,
You have three different questions here. Let's take them one at a time:
  1. Crash when using undistortImage. Can you please post your images so that I can try reproducing the crash? Can you also post the stack trace in the crash window? Also, what operating system are you using?
  2. Computing extrinsics. It sounds like you called detectCheckerboardPoints on a set of 34 images, which is why the size is M-by-2-by-34. On the other hand, the extrinsics function needs the world points from only one checkerboard. So you need to either choose one of those 34 sets of points, or call detectCheckerboardPoints on just one image.
  3. Different camera parameters from different images. You will always get somewhat different camera parameters from different sets of calibration images. The rule of thumb is to use more images, like 20, and check that the reprojection errors are below .5 of a pixel.

Lise OCH
Lise OCH on 22 Feb 2016
Hi Dima Lisin ! thank you for answering :)
1. Crash when using undistortImage. I'm using Windows 7 (64 bits). Concerning the images i'm using, I tried with different sets of images so I don't think the problem comes from here. You can find attached the last set of images I was using. Concerning the crash windows, here they are :
And the second window, hidden behind :
As you can see in the first screen shoot, I have a warning about the size of my images. It's not always the case (while my images are always the same size). Could this make some problems ? Here is the screen shoot of the warning :
2. Computing extrinsics. Thank you for the explanation about computing extrinsics. My mistake was exactly what you said.
3. Different camera parameters from different images. When I was using different sets of images, I got very different camera parameters. I was using between 18 and 35 images for the calibration. I understand that it's normal to get some differences, but for lens Radius Distortion for exemple, I got very big differences. Shouldn't I get some similar numbers ?
Thank you so much for helping :)
  1 Comment
Dima Lisin
Dima Lisin on 22 Feb 2016
Hi Lise,
I've just tried calibrating and undistorting using your images on Windows, and I do not get the crash. Can you please reproduce it again, and this time click on the "Details>>" button? You should see the stack trace, which may give us a clue about where the problem is. Please copy that and post it in a comment here.
The "Image is too big" warning is ok. It is just telling you that imshow has resized the image for display.
In your images, the checkerboard is always in the middle of the image. You should move it to the left and right, and up and down to get points close to the edges of the image. Otherwise, your radial distortion estimate will not be accurate, which probably explains why you are getting different results from different sets of images. Also, it would help to move the checkerboard to be at different distances from the camera.

Sign in to comment.


Lise OCH
Lise OCH on 22 Feb 2016
Oh ok ! So, here are the details I got from the first crash window :
MATLAB crash <file:C>:\Users\Lise\AppData\Local\Temp\matlab_crash_dump.392-1:
------------------------------------------------------------------------ Illegal instruction detected at Mon Feb 22 17:31:14 2016 ------------------------------------------------------------------------
Configuration: Crash Decoding : Disabled Crash Mode : continue (default) Current Graphics Driver: Microsoft Corporation GDI Generic Version 1.1.0 Default Encoding : windows-1252 Graphics card 1 : (Types d’écrans standard) ( 0x8086 ) Carte graphique VGA standard Version 6.1.7600.16385 Host Name : Lise-SuperDELL MATLAB Architecture : win64 MATLAB Root : C:\Program Files\MATLAB\R2015b MATLAB Version : 8.6.0.267246 (R2015b) OpenGL : software Operating System : Microsoft Windows 7 Édition Familiale Premium Processor ID : x86 Family 6 Model 58 Stepping 9, GenuineIntel Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode Window System : Version 6.1 (Build 7600)
Fault Count: 2
Abnormal termination: Illegal instruction
Register State (from fault): RAX = 00000000000000b3 RBX = 000000000000b3b4 RCX = 00000000be07113c RDX = 0000000019670497 RSP = 0000000004028938 RBP = 0000000000000437 RSI = 0000000000000438 RDI = 0000000026ec0060
R8 = 00000000a378113c R9 = 0000000000000000
R10 = 0000000000000000 R11 = 0000000026ec1de4
R12 = 0000000000000438 R13 = 00000000be070060
R14 = 0000000019670060 R15 = 00000000a3780060
RIP = 000007feebe5cd00 EFL = 00010202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault): [ 0] 0x000007feebe5cd00 C:\Program Files\MATLAB\R2015b\bin\win64\libmwipp.dll+03656960 ippiWarpAffine_8u_C1R+03629200 [ 1] 0x0000000000000438 unknown-module+00000000 [ 2] 0x0000000026ec0060 unknown-module+00000000 [ 3] 0x0000000000000438 unknown-module+00000000 [ 4] 0x000007feebc43acc C:\Program Files\MATLAB\R2015b\bin\win64\libmwipp.dll+01456844 ippiWarpAffine_8u_C1R+01429084 [ 5] 0x00000000166337f7 C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00014327 [ 6] 0x00000000166315ad C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00005549 [ 7] 0x0000000016634ac6 C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00019142 [ 8] 0x000007fef3d0c882 C:\Program Files\MATLAB\R2015b\bin\win64\tbb.dll+00116866 tbb::interface7::internal::task_arena_base::internal_wait+00013042 [ 9] 0x000007fef3d0c0ae C:\Program Files\MATLAB\R2015b\bin\win64\tbb.dll+00114862 tbb::interface7::internal::task_arena_base::internal_wait+00011038 [ 10] 0x0000000016632045 C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00008261 [ 11] 0x0000000016635d61 C:\Program Files\MATLAB\R2015b\toolbox\images\images\+images\+internal\remapmex.mexw64+00023905 mexFunction+00000833 [ 12] 0x00000000fc5f7551 C:\Program Files\MATLAB\R2015b\bin\win64\libmex.dll+00095569 mexRunMexFile+00000129 [ 13] 0x00000000fc5f6872 C:\Program Files\MATLAB\R2015b\bin\win64\libmex.dll+00092274 inSwapMexfileReader+00000594 [ 14] 0x00000000fc5f6426 C:\Program Files\MATLAB\R2015b\bin\win64\libmex.dll+00091174 mexUnlock+00004998 [ 15] 0x0000000007474cc3 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00019651 Mfh_file::dispatch_fh_impl+00000531 [ 16] 0x000000000747488e C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00018574 Mfh_file::dispatch_fh+00000062 [ 17] 0x00000000074751e8 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00020968 Mfunction_handle::dispatch+00000968 [ 18] 0x000000000f2acdcb C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00052683 [ 19] 0x000000000f2acd55 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00052565 [ 20] 0x000000000f2acc5d C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00052317 [ 21] 0x000000000f2ccb0a C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00183050 [ 22] 0x000000000f2c1864 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00137316 [ 23] 0x000000000f2c0495 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00132245 [ 24] 0x000000000f2e79f6 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00293366 [ 25] 0x000000000f2e7811 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00292881 [ 26] 0x000000000f2e76c0 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00292544 [ 27] 0x0000000007475498 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00021656 Mfh_MATLAB_fn::dispatch_fh+00000600 [ 28] 0x000000000f2e8ccd C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00298189 [ 29] 0x0000000008c57aed C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01342189 MathWorks::lxe::ReleaseCurrentMcrContext+00448317 [ 30] 0x0000000008c57a5d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01342045 MathWorks::lxe::ReleaseCurrentMcrContext+00448173 [ 31] 0x0000000008b3a0d8 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172248 [ 32] 0x0000000008b3a057 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172119 [ 33] 0x0000000008b39fbb C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171963 [ 34] 0x0000000008b39ec6 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171718 [ 35] 0x0000000008b39e2d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171565 [ 36] 0x0000000008c5ac93 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354899 MathWorks::lxe::ReleaseCurrentMcrContext+00461027 [ 37] 0x0000000008c5ac04 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354756 MathWorks::lxe::ReleaseCurrentMcrContext+00460884 [ 38] 0x0000000008b6ab5f C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00371551 [ 39] 0x0000000008b69810 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00366608 [ 40] 0x0000000008b996e1 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562913 [ 41] 0x0000000008b99406 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562182 [ 42] 0x0000000008b2f9d4 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00129492 [ 43] 0x0000000008b3a1ac C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172460 [ 44] 0x0000000008b3bd7d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00179581 [ 45] 0x0000000007474cc3 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00019651 Mfh_file::dispatch_fh_impl+00000531 [ 46] 0x000000000747488e C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00018574 Mfh_file::dispatch_fh+00000062 [ 47] 0x00000000074751e8 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00020968 Mfunction_handle::dispatch+00000968 [ 48] 0x000000000f2acdcb C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00052683 [ 49] 0x000000000f2acd55 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00052565 [ 50] 0x000000000f2acc5d C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00052317 [ 51] 0x000000000f2ccb0a C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00183050 [ 52] 0x000000000f2c1864 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00137316 [ 53] 0x000000000f2c0495 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00132245 [ 54] 0x000000000f2e79f6 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00293366 [ 55] 0x000000000f2e7811 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00292881 [ 56] 0x000000000f2e76c0 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00292544 [ 57] 0x0000000007475498 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00021656 Mfh_MATLAB_fn::dispatch_fh+00000600 [ 58] 0x000000000f2e8ccd C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00298189 [ 59] 0x0000000008b6269c C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00337564 [ 60] 0x0000000008b3a0d8 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172248 [ 61] 0x0000000008b3a057 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172119 [ 62] 0x0000000008b39fbb C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171963 [ 63] 0x0000000008b39ec6 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171718 [ 64] 0x0000000008b39e2d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171565 [ 65] 0x0000000008c5ac93 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354899 MathWorks::lxe::ReleaseCurrentMcrContext+00461027 [ 66] 0x0000000008c5ac04 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354756 MathWorks::lxe::ReleaseCurrentMcrContext+00460884 [ 67] 0x0000000008b6ab5f C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00371551 [ 68] 0x0000000008b69810 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00366608 [ 69] 0x0000000008b996e1 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562913 [ 70] 0x0000000008b99406 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562182 [ 71] 0x0000000008b51916 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00268566 [ 72] 0x0000000008b3a1ef C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172527 [ 73] 0x0000000008cc8048 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01802312 boost::archive::detail::oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptor>::oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptor>+00218984 [ 74] 0x0000000007474cc3 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00019651 Mfh_file::dispatch_fh_impl+00000531 [ 75] 0x000000000747483e C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00018494 Mfh_file::dispatch_fh_with_reuse+00000062 [ 76] 0x0000000008c57aed C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01342189 MathWorks::lxe::ReleaseCurrentMcrContext+00448317 [ 77] 0x0000000008c57a5d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01342045 MathWorks::lxe::ReleaseCurrentMcrContext+00448173 [ 78] 0x0000000008b3a0d8 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172248 [ 79] 0x0000000008b3a057 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172119 [ 80] 0x0000000008b39fbb C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171963 [ 81] 0x0000000008b39ec6 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171718 [ 82] 0x0000000008b39e2d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171565 [ 83] 0x0000000008c5ac93 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354899 MathWorks::lxe::ReleaseCurrentMcrContext+00461027 [ 84] 0x0000000008c5ac04 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354756 MathWorks::lxe::ReleaseCurrentMcrContext+00460884 [ 85] 0x0000000008b6ab5f C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00371551 [ 86] 0x0000000008b69810 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00366608 [ 87] 0x0000000008b996e1 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562913 [ 88] 0x0000000008b99406 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562182 [ 89] 0x0000000008bfc23f C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00967231 MathWorks::lxe::ReleaseCurrentMcrContext+00073359 [ 90] 0x0000000008bfc146 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00966982 MathWorks::lxe::ReleaseCurrentMcrContext+00073110 [ 91] 0x0000000008bfbc56 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00965718 MathWorks::lxe::ReleaseCurrentMcrContext+00071846 [ 92] 0x0000000008b80b14 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00461588 [ 93] 0x0000000008b80adc C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00461532 [ 94] 0x0000000008b8091a C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00461082 [ 95] 0x0000000008b80802 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00460802 [ 96] 0x00000000075f60a1 C:\Program Files\MATLAB\R2015b\bin\win64\m_interpreter.dll+00680097 inEvalCmdWithLocalReturn+00000065 [ 97] 0x0000000008ad29bd C:\Program Files\MATLAB\R2015b\bin\win64\libmwbridge.dll+00076221 mnGetPrompt+00003597 [ 98] 0x0000000008ad3597 C:\Program Files\MATLAB\R2015b\bin\win64\libmwbridge.dll+00079255 mnParser+00001079 [ 99] 0x0000000008a287a4 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00362404 mcrInstance::mnParser_on_interpreter_thread+00000036 [100] 0x00000000089fc477 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00181367 mcr::runtime::setInterpreterThreadToCurrent+00019751 [101] 0x00000000089fc4b3 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00181427 mcr::runtime::setInterpreterThreadToCurrent+00019811 [102] 0x00000000089fccb1 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00183473 mcr::runtime::setInterpreterThreadToCurrent+00021857 [103] 0x00000000fab62aa6 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00535206 UIW_AttachThreadInput+00001270 [104] 0x00000000fab62335 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00533301 wsd_to_MSW+00004181 [105] 0x00000000fab623b9 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00533433 wsd_to_MSW+00004313 [106] 0x0000000076b58fea C:\Windows\system32\USER32.dll+00167914 GetMessagePos+00001114 [107] 0x0000000076b4201b C:\Windows\system32\USER32.dll+00073755 SystemParametersInfoW+00000235 [108] 0x0000000076b47195 C:\Windows\system32\USER32.dll+00094613 GetGUIThreadInfo+00000469 [109] 0x0000000076d9fdf5 C:\Windows\SYSTEM32\ntdll.dll+00327157 KiUserCallbackDispatcher+00000031 [110] 0x0000000076b4bb2a C:\Windows\system32\USER32.dll+00113450 PeekMessageW+00000186 [111] 0x0000000076b461a6 C:\Windows\system32\USER32.dll+00090534 PeekMessageA+00000198 [112] 0x0000000076b46137 C:\Windows\system32\USER32.dll+00090423 PeekMessageA+00000087 [113] 0x00000000fab0e1cb C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00188875 UIW_ShowMenuItem+00005547 [114] 0x00000000fab634c2 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00537794 UIW_SuspendAttachThreadInput+00000690 [115] 0x00000000044b0ad3 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01510099 services::system_events::PpeDispatchHook::dispatchOne+00032291 [116] 0x00000000044bc785 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01558405 sysq::addProcessPendingEventsUnitTestHook+00006101 [117] 0x00000000044bc830 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01558576 sysq::addProcessPendingEventsUnitTestHook+00006272 [118] 0x00000000044be475 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01565813 sysq::getCondition+00004197 [119] 0x00000000044bfe22 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01572386 svWS_ProcessPendingEvents+00000162 [120] 0x00000000089fd3cd C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00185293 mcr::runtime::setInterpreterThreadToCurrent+00023677 [121] 0x00000000089fe03a C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00188474 mcr::runtime::setInterpreterThreadToCurrent+00026858 [122] 0x00000000089f5c95 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00154773 mcr_process_events+00007557 [123] 0x00000000089f75a2 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00161186 mcr_process_events+00013970 [124] 0x00000000052237ae C:\Program Files\MATLAB\R2015b\bin\win64\MVMLocal.dll+00210862 mvm_server::inproc::LocalFactory::terminate+00081678 [125] 0x00000000fa924d99 C:\Program Files\MATLAB\R2015b\bin\win64\mvm.dll+01002905 mvm::detail::initLocalMvmHack+00000537 [126] 0x00000000fa925368 C:\Program Files\MATLAB\R2015b\bin\win64\mvm.dll+01004392 mvm::detail::SessionImpl::privateSession+00000376 [127] 0x00000000fa9255b2 C:\Program Files\MATLAB\R2015b\bin\win64\mvm.dll+01004978 mvm::detail::SessionImpl::privateSession+00000962
Abnormal termination This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files.
If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!