active contour goes out of image bounds

Home Forums Bug Reports active contour goes out of image bounds

  • deborakeller0@gmail.com

    this is a first for me but active contours creates ROIs outside of hte image bounds…

    https://cloud.biotoul.fr/index.php/f/106499

    I also reported several bugs with active contour.. might this be the problem?

    Cheers

     

    Debbi

     

    deborakeller0@gmail.com

    he following error is reported only on first occurence :
    org.pushingpixels.substance.api.UiThreadingViolationException: State tracking must be done on Event Dispatch Thread
    at org.pushingpixels.substance.internal.utils.SubstanceCoreUtilities.testThreadingViolation(SubstanceCoreUtilities.java:2117)
    at org.pushingpixels.substance.internal.animation.StateTransitionTracker$ModelStateInfo.clear(StateTransitionTracker.java:171)
    at org.pushingpixels.substance.internal.animation.StateTransitionTracker.onModelStateChanged(StateTransitionTracker.java:337)
    at org.pushingpixels.substance.internal.animation.StateTransitionTracker$4.stateChanged(StateTransitionTracker.java:262)
    at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
    at javax.swing.JToggleButton$ToggleButtonModel.setSelected(JToggleButton.java:269)
    at javax.swing.AbstractButton.setSelected(AbstractButton.java:348)
    at plugins.adufour.roi.ROIMeasures$MeasureSelector.loadParameters(ROIMeasures.java:1295)
    at plugins.adufour.roi.ROIMeasures$MeasureSelector.valueChanged(ROIMeasures.java:1363)
    at plugins.adufour.roi.ROIMeasures$MeasureSelector.valueChanged(ROIMeasures.java:1)
    at plugins.adufour.vars.lang.Var.fireVariableChanged(Var.java:328)
    at plugins.adufour.vars.lang.Var.setValue(Var.java:791)
    at plugins.adufour.vars.lang.Var.loadFromXML(Var.java:530)
    at plugins.adufour.blocks.util.BlocksML.loadWorkFlow_V4(BlocksML.java:1430)
    at plugins.adufour.blocks.util.BlocksML.loadWorkFlow_V4(BlocksML.java:1306)
    at plugins.adufour.blocks.util.BlocksML.loadWorkFlow(BlocksML.java:773)
    at plugins.adufour.protocols.gui.ProtocolPanel.loadWorkFlow(ProtocolPanel.java:454)
    at plugins.adufour.protocols.gui.MainFrame$2.run(MainFrame.java:597)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

    Alexandre Dufour

    Hi Debbi,

    FYI your link points to a protected page, so hard to see what’s going wrong.

    Anyways, could you send a screenshot of the parameters you used to get there?

    deborakeller0@gmail.com

     

    Karim

    Hi,

    I get the exact same issue, did you managed to solve it ?

    Active contour out of bound KM

    In this image, I reduced the max iterations to 10.000 but usually it is around 50.000 so you can guess that it goes way outside the limit of the image.

    Stephane Dallongeville

    Hi Karim,

    We are now using the image.sc forum so it’s better to post on it now.

    I’m replying here as you weren’t aware probably, about your issue, latest versions of Active Contours should manage that better (but not yet perfectly, it can still go outbound sometime). Did you check that you’re actually using the last version of the plugin ? Also i saw you’re using contour inflation parameter with a high value, maybe reducing it will help avoiding that problem.

    Best,

    – Stephane

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.