File size: 1,972 Bytes
d4035c1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
This package contains statically linked Linux binary and Windows executable of
Maximum Stable Extremal Regions detector.
Usage: extrema [options]
-i (null) [null] input image (png, tiff, jpg, ppm, pgm)
-o (null) [null] output file
-per (0.010) [0.010] maximum relative area
-es (1.000) [1.000] ellipse scale, (output types 2 and 4)
-ms (30) [30] minimum size of output region
-mm (10) [10] minimum margin
-rel (0) [0] use relative margins
-t (0) [0] output file type
0 - RLE
1 - Extended boundary
2 - Ellipse
Dependencies:
Option -i is compulsory
Detected MSER+ and MSER- regions are stored in output file as follows:
Extrema file format RLE:
NUM_MSER_PLUS
NUM_RLE LINE COL1 COL2 LINE COL1 COL2 ... LINE COL1 COL2
...
NUM_RLE LINE COL1 COL2 LINE COL1 COL2 ... LINE COL1 COL2
NUM_MSER_MINUS
NUM_RLE LINE COL1 COL2 LINE COL1 COL2 ... LINE COL1 COL2
...
NUM_RLE LINE COL1 COL2 LINE COL1 COL2 ... LINE COL1 COL2
where NUM_MSER_PLUS and NUM_MSER_MINUS are number of MSER+ and MSER- regions
respectively. Each region is described as one line in output file.
NUM_RLE specifies number of RLE triples LINE COL1 COL2.
Extrema file format Extended boundary:
NUM_MSER_PLUS
NUM_PTS X Y X Y ... X Y
...
NUM_PTS X Y X Y ... X Y
NUM_MSER_MINUS
NUM_PTS X Y X Y ... X Y
...
NUM_PTS X Y X Y ... X Y
where NUM_MSER_PLUS and NUM_MSER_MINUS are number of MSER+ and MSER- regions
respectively. Each region is described as one line in output file. NUM_PTS
specifies number of points in extended boundary.
Extrema file format Ellipse:
1.0
NUM_TOTAL_MSER
U V A B C
...
U V A B C
where NUM_TOTAL_MSER is number of MSER+ and MSER- regions. Each region is
described as one line in output file. Each affine region is described as an
ellipse with parameters U,V,A,B,C in:
a(x-u)(x-u)+2b(x-u)(y-v)+c(y-v)(y-v)=1
with (0,0) at image top left corner.
|