ARX  1.2.0
The next-generation open source augmented reality toolkit.
Loading...
Searching...
No Matches
arPattSave.c File Reference
#include <stdio.h>
#include <ARX/AR/ar.h>
Include dependency graph for arPattSave.c:

Functions

int arPattSave (ARUint8 *image, int xsize, int ysize, int pixelFormat, ARParamLTf *paramLTf, int imageProcMode, ARMarkerInfo *marker_info, ARdouble pattRatio, int pattSize, const char *filename)
 Save a pattern to a pattern file.

Function Documentation

◆ arPattSave()

int arPattSave ( ARUint8 * image,
int xsize,
int ysize,
int pixelFormat,
ARParamLTf * paramLTf,
int imageProcMode,
ARMarkerInfo * marker_info,
ARdouble pattRatio,
int pattSize,
const char * filename )

Save a pattern to a pattern file.

This function is used by the make_patt utility. See the sourcecode to mk_patt for usage.

Parameters
image(description)
xsize(description)
ysize(description)
pixelFormat(description)
paramLTf(description)
imageProcMode(description)
marker_info(description)
pattRatioA value between 0.0 and 1.0, representing the proportion of the marker width which constitutes the pattern. In earlier versions, this value was fixed at 0.5.
pattSizeThe number of rows and columns to create in the pattern. Normally AR_PATT_SIZE1.
filename(description)
Returns
(description)
Here is the call graph for this function: