Reference

Table of Contents  ▸  List of Commands  ▸  Features Extraction  ▸  at_quadrangle◀  at_line    |    barycenter  ▶

at_quadrangle

Arguments:

Description:

Retrieve pixels of the selected images belonging to the specified 2D or 3D quadrangle.

interpolation can be { 0=nearest-neighbor | 1=linear | 2=cubic }.
boundary_conditions can be { 0=dirichlet | 1=neumann | 2=periodic | 3=mirror }.

Example of use:

$ gmic image.jpg params=5%,5%,95%,5%,60%,95%,40%,95% +at_quadrangle $params polygon.. 4,$params,0.5,255

Command: image.jpg params=5%,5%,95%,5%,60%,95%,40%,95% +at_quadrangle $params polygon.. 4,$params,0.5,255
Command: image.jpg params=5%,5%,95%,5%,60%,95%,40%,95% +at_quadrangle $params polygon.. 4,$params,0.5,255