de.unihalle.informatik.MiToBo.apps.singleCellTracking2D
Class LabelAreasToRegions

java.lang.Object
  extended by de.unihalle.informatik.MiToBo.apps.singleCellTracking2D.LabelAreasToRegions

public class LabelAreasToRegions
extends Object


Constructor Summary
LabelAreasToRegions()
           
 
Method Summary
static MTBRegion2D getBackground(MTBImage frame, int bgLabel)
           
static MTBRegion2DSet getRegions(MTBImage frame)
           
static MTBRegion2DSet getRegions(MTBImage frame, int bgLabel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelAreasToRegions

public LabelAreasToRegions()
Method Detail

getRegions

public static MTBRegion2DSet getRegions(MTBImage frame,
                                        int bgLabel)
Parameters:
frame - frame from which the regions should be extracted
bgLabel - label assigned to the background
Returns:
region set of all regions except the background region

getRegions

public static MTBRegion2DSet getRegions(MTBImage frame)
Parameters:
frame -
Returns:
region set of all regions (possibly including the background region)

getBackground

public static MTBRegion2D getBackground(MTBImage frame,
                                        int bgLabel)
Parameters:
frame -
bgLabel - label assigned to the background
Returns:
background region


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.