According to parameters of interests, such as size, eccentricity/shape, filters out the particles that do not satisfy the indicated requirements

select.particles(particleset, min.area = 1, max.area = 1000)

Arguments

particleset

A ParticleSet object. A LinkedParticleSet object can also be provided as input, yet the returned object will be a ParticleSet object that needs to be linked again

min.area

Size in pixels of the minimum area needed to detect the object as a potential particle of interest

max.area

Size in pixels of the maximum area allowed to detect the object as a potential particle of interest

Value

A ParticleSet object

Author

Federico Marini, marinif@uni-mainz.de, 2014

Examples

data("candidate.platelets")
selected.platelets <- select.particles(candidate.platelets, min.area = 5)
#> Filtering the particles...
selected.platelets
#> An object of the ParticleSet class. 
#> 
#> Set of particles for 20 images
#> 
#> Displaying a subset of the features of the 13 particles found in the first image...
#>   cell.0.m.cx cell.0.m.cy cell.0.m.majoraxis cell.0.m.eccentricity
#> 1   186.70833   47.937500           8.916405             0.6353715
#> 2   256.19048   35.857143           7.746554             0.4606665
#> 3   251.09524   63.523810           8.552466             0.6843186
#> 4    15.79412    8.058824           8.419655             0.7892764
#> 5   215.54688   51.828125          13.694783             0.8788344
#>   cell.0.m.theta cell.0.s.area cell.0.s.perimeter cell.0.s.radius.mean
#> 1      0.3380463            48                 20             3.487042
#> 2      0.9165252            42                 19             3.194559
#> 3      0.9370618            42                 19             3.247531
#> 4      1.4806734            34                 18             2.847459
#> 5      0.7172299            64                 28             4.308530
#> 
#> Particles identified on the red channel