lib 1010061 // OpenIMAJ feature extraction (1.3.5) lib 1009074 // trove import org.openimaj.image.segmentation.*; import org.openimaj.image.pixel.*; static float fhSegment_sigma = 0.5f; static float fhSegment_k = 2500f / 255f; static int fhSegment_minSize = 20; static L<ConnectedComponent> fhSegment(BufferedImage image) { ret fhSegment(readMBF(image)); } static L<ConnectedComponent> fhSegment(MBFImage image) { ret new FelzenszwalbHuttenlocherSegmenter(fhSegment_sigma, fhSegment_k, fhSegment_minSize) .segment(image); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010144 |
Snippet name: | fhSegment - run Felzenszwalb-Huttenlocher Segmenter |
Eternal ID of this version: | #1010144/3 |
Text MD5: | d660ddbc3683795f91280805146217e1 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-05 16:18:13 |
Source code size: | 552 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 605 / 645 |
Version history: | 2 change(s) |
Referenced in: | [show references] |