yashpasar / Brain-Tumor-Classification-and-Detection-Machine-Learning

Refining the Accuracy and Efficiency to classify brain tumor images into malignant and benign using Matlab
38 stars 15 forks source link

getting a error in "BrainMRI_GUI.m" #1

Open VU2CWP opened 2 years ago

VU2CWP commented 2 years ago

Hi, This is Nadheem. I and our team are Working on a project similar to your project. where we are fusing MRI and CT image and then Segmenting using CNN method . we request you to grant us permission to use your program as a reference . i tried running the program "BrainMRI_GUI.m" . i'm getting the following error after loading mri image and segmenting the tumor . i am not getting any values in Feature part.

Error using BrainMRI_GUI>pushbutton2_Callback (line 138) 'dwt2' requires Wavelet Toolbox.

Error in gui_mainfcn (line 95) feval(varargin{:});

Error in BrainMRI_GUI (line 44) gui_mainfcn(gui_State, varargin{:});

Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)BrainMRI_GUI('pushbutton2_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating UIControl Callback.

please help us in solving this error , Thank you

anukrav commented 2 years ago

Download all the files in the code folder and run 'Brain_DWT_PCA.m' file before running the 'BrainMRI_GUI.m' file. It worked for me.

dhyanasai commented 1 year ago

Download all the files in the code folder and run 'Brain_DWT_PCA.m' file before running the 'BrainMRI_GUI.m' file. It worked for me.

after running this file what input did you give ?

anukrav commented 1 year ago

If you mean the BrainMRI_GUI.m file, it just asked me for the image input. It opened a different window for that. If it doesn't work try checking the callback function parts of the program and renaming the functions if there's any repetition/inconsistency.

anukrav commented 1 year ago

If you mean the BrainMRI_GUI.m file, it just asked me for the image input. It opened a different window for that. If it doesn't work try checking the callback function parts of the program and renaming the functions if there's any repetition/inconsistency.

Also check if you have all the required toolboxes. If you're getting a different error, look it up and you'll understand better what you need. Goodluck!