ePSIC-DLS / particlespy

Package for analysing particles in electron microscopy data sets.
GNU General Public License v3.0
19 stars 9 forks source link

Add Niblack and Sauvola Thresholding #55

Closed CameronGBell closed 3 years ago

CameronGBell commented 3 years ago

Added clustering test for Niblack, future thresholding methods can be added as parameters to test_parameters.dat

codecov[bot] commented 3 years ago

Codecov Report

Merging #55 into master will increase coverage by 3.13%. The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
+ Coverage   81.48%   84.62%   +3.13%     
==========================================
  Files          13       13              
  Lines         821      852      +31     
==========================================
+ Hits          669      721      +52     
+ Misses        152      131      -21     
Impacted Files Coverage Δ
ParticleSpy/tests/test_particle_clustering.py 100.00% <ø> (ø)
ParticleSpy/ParticleAnalysis.py 93.11% <60.00%> (-0.84%) :arrow_down:
ParticleSpy/segptcls.py 94.50% <71.42%> (+27.83%) :arrow_up:
CameronGBell commented 3 years ago

@TomSlater

This is probably a good place to merge, All new and existing thesholding methods are added and tested (apart from Sauvola testing). Local Filter Kernel has also been updated.