VH-Lab / vhlab-microscopyimageanalysis-matlab

Matlab app for analysis of high density imaging data like that from Array Tomography
0 stars 0 forks source link

error about setting image threshold #14

Closed blue745 closed 6 years ago

blue745 commented 6 years ago

I got errors when I tried to set image thresholds. The image did not show up in the threshold setting popup window and I don't see the histogram no matter how I adjusted the threshold. I got errors messages that are below:

Reference to non-existent field 'ImageScaleParams'.

Error in at_image_threshold (line 33) [vars.ImageScaleParams.Min(i) vars.ImageScaleParams.Max(i)], ...

Error in image_viewer_gui (line 234) im = eval([ud.imagemodifierfunc ';']);

Error in image_viewer_gui (line 198) image_viewer_gui(name,'command',[name 'Draw_Image'],'ud',ud);

Error in image_viewer_gui (line 126) image_viewer_gui(name,'command',[name 'load_image']);

Error in at_image_threshold (line 84) image_viewer_gui(image_viewer_name,'imfile',imfile,'imagemodifierfunc','at_image_threshold(im);')

Error in at_image_threshold (line 59) out = at_image_threshold(atd,input_itemname,output_itemname,buttonname);

Error in at_itemeditlist_gui (line 334) feval(menustr{menuval},ud.atd,liststr{listval},answer{1},'choose');

Error in callbacknametag (line 14) eval([functionname '(''' name ''',''command'',''' tag ''',varargin{:});']);

Error while evaluating UIControl Callback

blue745 commented 6 years ago

These images were collected on sp5. I made a Z stack and then split the channels. The individual channels were in their folders respectively. I am sure the format is correct.

stevevanhooser commented 6 years ago

Also, have you updated vhlab_mltbx_toolbox recently? You should update everything...

Thanks Steve

On Feb 5, 2018, at 11:46 AM, blue745 notifications@github.com wrote:

I got errors when I tried to set image thresholds. The image did not show up in the threshold setting popup window and I don't see the histogram no matter how I adjusted the threshold. I got errors messages that are below:

Reference to non-existent field 'ImageScaleParams'.

Error in at_image_threshold (line 33) [vars.ImageScaleParams.Min(i) vars.ImageScaleParams.Max(i)], ...

Error in image_viewer_gui (line 234) im = eval([ud.imagemodifierfunc ';']);

Error in image_viewer_gui (line 198) image_viewer_gui(name,'command',[name 'Draw_Image'],'ud',ud);

Error in image_viewer_gui (line 126) image_viewer_gui(name,'command',[name 'load_image']);

Error in at_image_threshold (line 84) image_viewer_gui(image_viewer_name,'imfile',imfile,'imagemodifierfunc','at_image_threshold(im);')

Error in at_image_threshold (line 59) out = at_image_threshold(atd,input_itemname,output_itemname,buttonname);

Error in at_itemeditlist_gui (line 334) feval(menustr{menuval},ud.atd,liststr{listval},answer{1},'choose');

Error in callbacknametag (line 14) eval([functionname '(''' name ''',''command'',''' tag ''',varargin{:});']);

Error while evaluating UIControl Callback

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/VH-Lab/vhlab_mlapp_ArrayTomography/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/ABznjcsyCzotjBXzmAXAG_P0JDc3knyoks5tRzCBgaJpZM4R5v2G.

stevevanhooser commented 6 years ago

Just checking in, what's the news here? Did you try updating?

blue745 commented 6 years ago

Sorry for a late response. I've been too busy with class work these few days. I'll update the toolbox soon.

stevevanhooser commented 6 years ago

Just checking in to see if there is really a bug here thanks

blue745 commented 6 years ago

I finished my analysis with imagej because I still couldn’t figure out why the code is not working. I will not be doing the experiment that need this code for a while. Sorry for keeping you this long. I will tell you if I run into this problem next time I use the code.