View Issue Details

IDProjectCategoryView StatusLast Update
0002737Slicer4Module Editorpublic2017-06-07 23:27
Reporterpieper Assigned Topieper  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002737: improve island removal tool
Description

Per discussion with Matt:

Yes,

But I thought if I took the "background" as my "enclosed space" it would eliminate the label islands.

Either way your thoughts are correct. I want to remove the "little islands" and save the big islands.

I will try your approach and any additions to build this into the workflow easily would really be appreciated.

MJ


Matthew Jolley, MD
Pediatric Cardiology Fellow
Pager 5341


From: Steve Pieper [pieper@ibility.net]
Sent: Tuesday, May 15, 2012 2:35 PM
To: Jolley, Matthew
Subject: Re:

I think I see - yes, that's a little different. The 'remove islands' expects that you have one big segmentation region (say, the liver) that is fully enclosed but has little specks inside. These inside specs are considered the 'islands'.

I think what you want here is the 'identify islands' with a min size that will remove all the specks smaller than a given size but leave the others alone. If you do this, then each larger island will be given a unique number (color) with 1 being the largest island and so on. From that that you then need to re-merge into a single value, perhaps using ChangeLabel or by putting the label map in the background and thresholding everything greater than 1 into the same label value.

I can see though that it would be good to have two modes in the RemoveIsland effect so that you could do this in one step. Let me know if this sounds right and I can think about how it would work to streamline the interface...

-Steve

On Mon, May 14, 2012 at 8:41 PM, Jolley, Matthew <Matthew.Jolley@cardio.chboston.org<mailto:Matthew.Jolley@cardio.chboston.org>> wrote:
Here is the label map.

I would like a tool to remove all the small little islands less than X pixels...

Maybe I am using it wrong.

The

TagsNo tags attached.

Relationships

related to 0002929 closedpieper Remove Islands 

Activities

pieper

pieper

2013-08-19 13:46

administrator   ~0009524

Fixed in r22299 - see issue 0002929.

Related Changesets

Slicer: 2145-support-for-installing-extension-from-file ab99bd45

2013-08-19 17:43:51

pieper

Details Diff
BUG: 0002737, 0002929 improve RemoveIslands tool

This adds a new "Morphological" island removal algorithm that has
been tested as useful on the brain mask that is output from the
diffusion tensor estimation module. It may be useful for other
applications as well.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22299 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/EditorLib/RemoveIslandsEffect.py Diff File

Issue History

Date Modified Username Field Change
2012-11-07 11:17 pieper New Issue
2012-11-07 11:17 pieper Status new => assigned
2012-11-07 11:17 pieper Assigned To => pieper
2013-07-08 06:56 pieper Relationship added related to 0002929
2013-08-19 13:46 pieper Note Added: 0009524
2013-08-19 13:46 pieper Status assigned => closed
2013-08-19 13:46 pieper Resolution open => fixed
2013-08-19 13:46 pieper Fixed in Version => Slicer 4.3.0
2017-06-07 23:27 pieper Changeset attached => Slicer 2145-support-for-installing-extension-from-file ab99bd45