diff --git a/README.md b/README.md index c11a81b..4475e01 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,6 @@ usage: -N --neighbors points to use when sampling range: [0,1024]; default: 29 - -r --radius - square neighborhood, always odd - range: [0,32]; default: [n/a] -R --circle-radius circle neighborhood radius range: [1,128]; default: [n/a] @@ -56,8 +53,6 @@ usage: required default: [none] ``` -the `radius` parameter should probably be removed. - ### neighborhood offsets are sorted in ascending distance from the center (the 0,0 point). diff --git a/resynth.c b/resynth.c index a3a854f..1e66fa1 100644 --- a/resynth.c +++ b/resynth.c @@ -461,13 +461,6 @@ int main(int argc, char *argv[]) { " range: [0,1024]; default: 29") parameters.neighbors = kyaa_flag_arg; - KYAA_FLAG_LONG('r', "radius", -" square neighborhood, always odd\n" -" range: [0,32]; default: [n/a]") - int radius = kyaa_flag_arg; - radius = 2 * MAX(radius, 0) + 1; - parameters.neighbors = radius * radius; - KYAA_FLAG_LONG('R', "circle-radius", " circle neighborhood radius\n" " range: [1,128]; default: [n/a]")