Use the dialog box to read the picture function in matlab