Commit 657571c
Merge from upstream (#29)
* Update particle_analysis.rst
* Add 3D plotting of properties
* Add tests for 3D plotting
* Update test_plotting.py
* Update test_plotting.py
* Update ptcl_class.py
* Update 3D plot label setting
* Fix plotting bug
* Update ptcl_class.py
* Update test_plotting.py
* Add 3D plotting to docs
* Update 3D plotting
* Add additional 3d plotting functionality
* Bugfix for area unit calculation
* added Niblack and Sauvola segmentation
Added two additional local segmentation methods: Niblack and Sauvola.
Also converted local threshold method to odd integers only, as specified by skimage.filters.threshold_local
* Bugfix for Invert check in SegUI
Fixed invert toggle not applying to SegUI image after 'Update'.
Fixed typo in ParticleAnalysis
A typo in docs
Changes to segmentation.rst to add Niblack and Sauvola.
changed parameter files back.
* Revert "Bugfix for Invert check in SegUI"
This reverts commit 3e65293.
* no altered parameters files
commit back to 3e65293 without broken parameters files
* Assitional clustering tests
added new clustering test capable of sets of parameters for each thresholding method
* changed test-clustering
* fixed test particle clustering
* more Parameter testing
test particle clustering extended to all thresholding methods apart from sauvola.
* Local Filter kernel Fixes
disables option to change local filter kernel until a local segmentation method is selected.
For Niblack, Sauvola and Local thresholding methods local kernel filter is locked to odd numbers
updated parameters file to account for new local filter kernel values
* test for scikit image update
* remove parameters in regionprops
* Update test_parameters.dat
* updated test_parameters
* updated watershed function used
* Updated watershed in SegUI
* Update test_params.dat again
* corrected clean_borders
corrected clean borders to take place after watershed separation to exclude less complete particles
* improved compatibility for scikits
reverted scikit-learn earliest to 0.21 and scikit-image to 0.17.1
* updated test parameters
updated test parameters in test_parameters.dat.
updated the default parameters as these were overriding the user-created parameters if they were set at zero
* Update setup.py
* adds new clustering methods
added new clustering methods for individual hyperspy objects and series of hyperspy objects
* Update ParticleAnalysis.py
* Update test_parameters.dat
* Update test_particle_clustering.py
* more filter parameters
* Update ParticleAnalysis.py
* New SegUI tab
added new SegUI tab to develop improved labelling methods
* added Radion buttons for different tools
* added line tool
* Update SegUI.py
* fixed tool alignment
* Fixed Tool selection
* added polygon tool
* Updated coordinates of SegUI to use QPoints
* Tidied Tools and line drawings
* Fixed flood Fill
flood fill no longer darkens touside of image and correctly fills enclosed shapes
* arr flipped to ARGB
* updated colour selection of flood fill
* moved flood fill to separate function
* added test for learn clustering
* added documentation and test fix
* updated tests
* New SegUI tab
added new SegUI tab to develop improved labelling methods
* added Radion buttons for different tools
* added line tool
* Update SegUI.py
* fixed tool alignment
* Fixed Tool selection
* added polygon tool
* Updated coordinates of SegUI to use QPoints
* Tidied Tools and line drawings
* Fixed flood Fill
flood fill no longer darkens touside of image and correctly fills enclosed shapes
* arr flipped to ARGB
* updated colour selection of flood fill
* moved flood fill to separate function
* fixed color flood filling and added color tool buttons
* flood fill colour is pen dependent
* fixed flooding
* added clear button
* updated saving labels
* added trainable segmentation
* updated SegUI layout
* corrected trainables
* updated classifier
* tidied SegUI
* commented ClusterTrained
* Working trainable segmentation
* Update ParticleAnalysis.py
* Update labels to v0.5.0
* added difference of gaussians
* added membrane projection kernel
* added documentation
* added training to SegUI
* fixed labels displaying on canvas
* Update SegUI.py
* fixed clustering methods
* Adds docs and moves functions
Moved all functions related to clustering and classifying to a new file 'segimgs.py'
* rewrites clustering algorithms
* moves segimgs.py to correct folder
* improves docs & fixes bugs
* adds partial test and bugfixes
* adds test for trainSeg
* Update test_particle_clustering.py
* removes saving mask to png
* fixes tests
* updates docs
updates docs with example of classifying multiple images
* Update segmentation.rst
* Update test_particle_clustering.py
* Add Figure and axes nomeclature to 1D plotting to fix bug when using notebook backend
* Update ptcl_class.py
* Added kwargs for plotting
* Update ptcl_class.py
* Update ptcl_class.py
* Update api.py
* Removed plot_area and plot_circularity functions
* Update test_plotting.py
* Update api.py
Co-authored-by: CameronGBell <cameronbell2236@gmail.com>
Co-authored-by: CameronGBell <70440659+CameronGBell@users.noreply.github.com>1 parent ccafb01 commit 657571c
3 files changed
Lines changed: 28 additions & 48 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | | - | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | | - | |
| 61 | + | |
60 | 62 | | |
61 | | - | |
| 63 | + | |
62 | 64 | | |
63 | | - | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 118 | + | |
147 | 119 | | |
148 | 120 | | |
149 | 121 | | |
| |||
168 | 140 | | |
169 | 141 | | |
170 | 142 | | |
171 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
172 | 146 | | |
173 | 147 | | |
174 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
175 | 151 | | |
176 | 152 | | |
177 | 153 | | |
178 | | - | |
| 154 | + | |
179 | 155 | | |
180 | 156 | | |
181 | 157 | | |
182 | | - | |
| 158 | + | |
183 | 159 | | |
184 | 160 | | |
185 | 161 | | |
186 | 162 | | |
187 | 163 | | |
188 | | - | |
| 164 | + | |
189 | 165 | | |
190 | 166 | | |
191 | 167 | | |
192 | 168 | | |
193 | 169 | | |
194 | | - | |
| 170 | + | |
195 | 171 | | |
196 | 172 | | |
197 | | - | |
| 173 | + | |
198 | 174 | | |
199 | | - | |
| 175 | + | |
200 | 176 | | |
201 | 177 | | |
202 | | - | |
| 178 | + | |
203 | 179 | | |
204 | 180 | | |
205 | 181 | | |
| |||
208 | 184 | | |
209 | 185 | | |
210 | 186 | | |
211 | | - | |
| 187 | + | |
212 | 188 | | |
213 | 189 | | |
214 | 190 | | |
| |||
220 | 196 | | |
221 | 197 | | |
222 | 198 | | |
223 | | - | |
| 199 | + | |
224 | 200 | | |
225 | 201 | | |
226 | 202 | | |
| |||
231 | 207 | | |
232 | 208 | | |
233 | 209 | | |
234 | | - | |
| 210 | + | |
235 | 211 | | |
236 | 212 | | |
237 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
0 commit comments