I am currently running R2014a x64 on my custom built Windows desktop. I have been using MATLAB on this desktop for about 10 months now without any problems. I've created a script for a project in my Computer Vision course, but every time I run it, my computer completely shuts off and does a hard reset. I'm working with a large color image about 10MP in size (~2000x4000x3). Going through my script line by line, I believe the problem is with the 'imfilter' function. I am trying to apply a basic averaging filter of size 15x15. Decreasing the filter size to 9x9 does not cause the hard reset, but larger structuring elements do.
Does anyone know of a potential fix to my problem? I cannot decrease the size of the image because we are creating a poster that is about 15x11 inches that will be hung as part of the 'art project.' I don't think that computer specs are the issue, as I am running an i7-4790k and have 16GB of RAM. Thanks for the help.