Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
common.h File Reference
#include "chart/colorchart.h"
+ Include dependency graph for src/chart/common.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  image_t
 

Typedefs

typedef struct image_t image_t
 

Enumerations

enum  {
  TOP_LEFT = 0 ,
  TOP_RIGHT = 1 ,
  BOTTOM_RIGHT = 2 ,
  BOTTOM_LEFT = 3
}
 

Functions

int get_homography (const point_t *source, const point_t *target, float *h)
 
point_t apply_homography (point_t p, const float *h)
 
float apply_homography_scaling (point_t p, const float *h)
 

Typedef Documentation

◆ image_t

typedef struct image_t image_t

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TOP_LEFT 
TOP_RIGHT 
BOTTOM_RIGHT 
BOTTOM_LEFT 

Function Documentation

◆ apply_homography()

point_t apply_homography ( point_t  p,
const float *  h 
)

◆ apply_homography_scaling()

float apply_homography_scaling ( point_t  p,
const float *  h 
)

Referenced by gui_post_expose().

◆ get_homography()

int get_homography ( const point_t source,
const point_t target,
float *  h 
)