Home | History | Annotate | Download | only in demo

Lines Matching refs:algorithm

5 // Resize image using specified resize algorithm with Magick++ API
7 // Usage: zoom [-density resolution] [-filter algorithm] [-geometry geometry]
20 << " [-density resolution] [-filter algorithm] [-geometry geometry]"
22 << " algorithm - bessel blackman box catrom cubic gaussian hamming hanning" << endl
76 std::string algorithm(argv[argv_index]);
77 if (algorithm.compare("point") == 0)
79 else if (algorithm.compare("box") == 0)
81 else if (algorithm.compare("triangle") == 0)
83 else if (algorithm.compare("hermite") == 0)
85 else if (algorithm.compare("hanning") == 0)
87 else if (algorithm.compare("hamming") == 0)
89 else if (algorithm.compare("blackman") == 0)
91 else if (algorithm.compare("gaussian") == 0)
93 else if (algorithm.compare("quadratic") == 0)
95 else if (algorithm.compare("cubic") == 0)
97 else if (algorithm.compare("catrom") == 0)
99 else if (algorithm.compare("mitchell") == 0)
101 else if (algorithm.compare("lanczos") == 0)
103 else if (algorithm.compare("bessel") == 0)
105 else if (algorithm.compare("sinc") == 0)
107 else if (algorithm.compare("sample") == 0)
109 else if (algorithm.compare("scale") == 0)