(ImageProcessor ip)
| 180 | } |
| 181 | |
| 182 | void skeletonize(ImageProcessor ip) { |
| 183 | int fg = Prefs.blackBackground?255:0; |
| 184 | if (ip.isInvertedLut()) |
| 185 | fg = 255-fg; |
| 186 | ((ByteProcessor)ip).skeletonize(fg); |
| 187 | } |
| 188 | |
| 189 | // Binary fill by Gabriel Landini, G.Landini at bham.ac.uk |
| 190 | // 21/May/2008 |