Kevin Trogant
ffbe68606b
First (sort-of) working version of a pinhole camera model. Improvement idea: - Stretch result image to the whole size
13 lines
256 B
C
13 lines
256 B
C
#ifndef DF_PINHOLE_H
|
|
#define DF_PINHOLE_H
|
|
|
|
/** @file pinhole.h
|
|
* @brief Defocus based on pinhole camera model.
|
|
*/
|
|
|
|
#include "image.h"
|
|
|
|
void df_pinhole(const df_image *in_image, float focal_length, float orig_z, float new_z, df_image *out_image);
|
|
|
|
#endif
|