Artifact c967251c3b4bc7969516a43a3f40faa1922317fd:
- File
operator/flip-transpose-grey16.crimp
— part of check-in
[122bdc7d78]
at
2011-12-14 21:53:28
on branch infinite-plane
— Continued from previous commit.
Left to check/modify are
unary: ahe, convolve, region_sum, rof
binary: atan2, hypot, pow, cannyinternal, complex div/multiply, join, joint-bilateral, threshold
other: warp-field, cut (*)
(*) Currently done via 'crop', semantic mismatch. Better as their own operator. (user: andreask size: 529) [more...]
flip_transpose_grey16 Tcl_Obj* imageObj crimp_image* image; crimp_image* result; int x, y; crimp_input (imageObj, image, grey16); result = crimp_new_like_transpose (image); for (y = 0; y < crimp_w (image); y++) { for (x = 0; x < crimp_h (image); x++) { GREY16 (result, x, y) = GREY16 (image, y, x); } } Tcl_SetObjResult(interp, crimp_new_image_obj (result)); return TCL_OK; /* vim: set sts=4 sw=4 tw=80 et ft=c: */ /* * Local Variables: * mode: c * c-basic-offset: 4 * fill-column: 78 * End: */