tahoma2d/toonz/sources/toonzlib/autopos.h
Toshihiro Shimizu 890dddabbd first commit
2016-03-19 02:57:51 +09:00

23 lines
637 B
C

#ifndef AUTOPOS_H
#define AUTOPOS_H
//#include "cleanup.h"
#include "trasterimage.h"
#include "toonz/cleanupparameters.h"
/*---------------------------------------------------------------------------*/
int do_autoalign(const TRasterImageP &image);
int compute_strip_pixel(CleanupTypes::FDG_INFO *fdg, double dpi);
void convert_dots_mm_to_pixel(CleanupTypes::DOT *dots, int nd, double x_res, double y_res);
int get_image_rotation_and_center(const TRasterP &img, int strip_width,
CleanupTypes::PEGS_SIDE pegs_side,
double *p_ang, double *cx, double *cy,
CleanupTypes::DOT ref[], int ref_dot);
#endif