wiggins-lab / SuperSegger

A completely automated MATLAB-based trainable image cell segmentation, fluorescence quantification and analysis suite, particularly well suited for high-throughput time lapse fluorescence microscopy of in vivo bacterial cells.
GNU General Public License v3.0
32 stars 20 forks source link

Training for the segments - clicking on segments not working #20

Closed showmepuppies closed 6 years ago

showmepuppies commented 6 years ago

Hi,

I am currently training my own constants. When running the training Gui, I can see the masks and I am able to remove debris etc. But when I toggle "display segments", and click on a segment, it does not change color/assignment, and I get the following error message:

>> trainingGui

Reference to non-existent field 'whichButton'.

Error in updateTrainingImage (line 42)
    if FLAGS.whichButton ==
    FLAGS.EdgeToggleRadioButtonFlag;

Error in trainingGui>imageButtonDownFcn (line 731)
    [settings_train.currentData, list] =
    updateTrainingImage(settings_train.currentData,
    FLAGS, eventdata.IntersectionPoint(1:2));

 Error while evaluating Image ButtonDownFcn.

Each click (whether on a segment or not) triggers the same messages.

Matlab version 2018a, Windows 10

Best, Elisa

pawiggins commented 6 years ago

Hey Elisa:

What version of ss are you using? Maybe check out an older version. My guess is that when we updated the segment editing capabilities, we introduced a bug in training.

If you are using the most recent version, maybe rewind to a pre July version. I’ll look at it when I get a chance but I am at a conference at the moment.

—PAW

Sent from my iPhone

On Aug 8, 2018, at 8:09 AM, showmepuppies notifications@github.com wrote:

Hi,

I am currently training my own constants. When running the training Gui, I can see the masks and I am able to remove debris etc. But when I toggle "display segments", and click on a segment, it does not change color/assignment, and I get the following error message:

trainingGui

Reference to non-existent field 'whichButton'.

Error in updateTrainingImage (line 42) if FLAGS.whichButton == FLAGS.EdgeToggleRadioButtonFlag;

Error in trainingGui>imageButtonDownFcn (line 731) [settings_train.currentData, list] = updateTrainingImage(settings_train.currentData, FLAGS, eventdata.IntersectionPoint(1:2));

Error while evaluating Image ButtonDownFcn. Each click (whether on a segment or not) triggers the same messages.

Matlab version 2018a, Windows 10

Best, Elisa

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

pawiggins commented 6 years ago

Hi Elisa:

Ok… I messed this up when I added more segment editing capabilities a couple weeks ago. It should be fixed now. Hit an update and you should be fine.

—PAW

On Aug 8, 2018, at 8:09 AM, showmepuppies notifications@github.com wrote:

Hi,

I am currently training my own constants. When running the training Gui, I can see the masks and I am able to remove debris etc. But when I toggle "display segments", and click on a segment, it does not change color/assignment, and I get the following error message:

trainingGui

Reference to non-existent field 'whichButton'.

Error in updateTrainingImage (line 42) if FLAGS.whichButton == FLAGS.EdgeToggleRadioButtonFlag;

Error in trainingGui>imageButtonDownFcn (line 731) [settings_train.currentData, list] = updateTrainingImage(settings_train.currentData, FLAGS, eventdata.IntersectionPoint(1:2));

Error while evaluating Image ButtonDownFcn. Each click (whether on a segment or not) triggers the same messages.

Matlab version 2018a, Windows 10

Best, Elisa

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wiggins-lab/SuperSegger/issues/20, or mute the thread https://github.com/notifications/unsubscribe-auth/Amb9oVsm2QLjINV_19eeqs9nVRPuh0g1ks5uOv8mgaJpZM4V0H5A.

showmepuppies commented 6 years ago

Thanks a lot for the quick fix! Works like a charm now.