| 74 | |
| 75 | == 30 May -- 4 June week 2: implement mean-shift image segmentation algorithm == |
| 76 | === What did you get done this week? === |
| 77 | * Implemented the basic mean-shift.c algorithm in [https://trac.osgeo.org/grass/browser/sandbox/bo/i.segment.gsoc2016/i.segment/mean_shift_2016_05_30_yb.c sandbox] according to the pseudo-code. |
| 78 | |
| 79 | === What do you plan on doing next week? === |
| 80 | * integrate the current basci mean-shift C codes to i.segment, make the mean-shift algorithm can be run using the GUI and command line, rather than stand-alone program. |
| 81 | 1. add the new options to parse_args.c |
| 82 | 2. implement mean shift in mean_shift.c |
| 83 | 3. write out shifted band values |
| 84 | 4. implement identification of connected components (objects) using the clump_n() function in r.clump/clump.c as template |
| 85 | 5. write out object ids just like for region growing (the code exists already in write_output.c) |
| 86 | 6. implement a minimum size for objects: objects smaller than minsize must be merged with some adjacent object |
| 87 | |
| 88 | === Are you blocked on anything? === |