@@ -22,11 +22,11 @@ AFAPI void saveImage(const char* filename, const array& in);
2222
2323AFAPI array resize (const array& in, const dim_type odim0, const dim_type odim1, const interpType method=AF_INTERP_NEAREST);
2424
25- AFAPI array resize (const array& in , const float scale0 , const float scale1 , const interpType method=AF_INTERP_NEAREST);
25+ AFAPI array resize (const float scale0 , const float scale1 , const array& in , const interpType method=AF_INTERP_NEAREST);
2626
27- AFAPI array resize (const array& in , const float scale , const interpType method=AF_INTERP_NEAREST);
27+ AFAPI array resize (const float scale , const array& in , const interpType method=AF_INTERP_NEAREST);
2828
29- AFAPI array rotate (const array& in, const float theta, const interpType method=AF_INTERP_NEAREST , const bool crop= true );
29+ AFAPI array rotate (const array& in, const float theta, const bool crop= true , const interpType method=AF_INTERP_NEAREST );
3030
3131AFAPI array transform (const array& in, const array& transform, const dim_type odim0, const dim_type odim1, const interpType method=AF_INTERP_NEAREST, const bool inverse=true );
3232
@@ -40,7 +40,9 @@ AFAPI array bilateral(const array &in, const float spatial_sigma, const float ch
4040
4141AFAPI array histogram (const array &in, const unsigned nbins, const double minval, const double maxval);
4242
43- AFAPI array meanshift (const array& in, const float spatial_sigma, const float chromatic_sigma, const unsigned iter, const bool is_color);
43+ AFAPI array histogram (const array &in, const unsigned nbins);
44+
45+ AFAPI array meanshift (const array& in, const float spatial_sigma, const float chromatic_sigma, const unsigned iter, const bool is_color=false );
4446
4547AFAPI array medfilt (const array& in, dim_type wind_length = 3 , dim_type wind_width = 3 , padType edge_pad = AF_ZERO);
4648
@@ -81,7 +83,7 @@ extern "C" {
8183
8284 // Rotate
8385 AFAPI af_err af_rotate (af_array *out, const af_array in, const float theta,
84- const af_interp_type method , const bool crop );
86+ const bool crop , const af_interp_type method );
8587 // Translate
8688 AFAPI af_err af_translate (af_array *out, const af_array in, const float trans0, const float trans1,
8789 const dim_type odim0, const dim_type odim1, const af_interp_type method);
0 commit comments