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