Daylight v4.9
Release Date: 1 February 2008

Name

dt_fp_setmindensity - specify the global minimum fingerprint density

Generic Prototype

dt_fp_setmindensity(dt_Real) => dt_Real

C Prototype

#include "dt_finger.h"

dt_Real dt_fp_setmindensity(dt_Real size)

FORTRAN Prototype

include 'dt_f_finger.inc'

real*4 dt_f_fp_setmindensity(size)

real*4 size

Description

This function is obsolete, as of version 4.42. The global minimum density value is only used by the obsolete functions dt_fp_fingerprint(), and dt_fp_fold().

Changes the global minimum fingerprint density. This value limits fingerprint folding. The density is calculated by dividing the number of 1's set by the total number of bits in the fingerprint. Attempts to fold a fingerprint whose density exceeds the minimum density will be silently ignored (see dt_fp_fold(3)).

The size must be between 0.0 and 1.0.

Return Value

Returns a real containing the new minimum density value.

Related Topics

dt_fp_fingertest(3) dt_fp_foldfp(3) dt_fp_mindensity(3)