FingerWsq.encodeToFile Method¶
Module: FingerWsq
Definition¶
Encodes a FingerImage to a NIST WSQ file.
@staticmethod
encode_to_file(image: FingerImage, bit_rate: float, path: str) -> None
Parameters
imageFingerImagein Image to encode to WSQ.bit_ratefloatin WSQ encoding bit rate. The lower the bit rate is, the higher is the compression level and vice versa. The recommended bit rate is 0.75. It corresponds to 15:1 compression. Another common bit rate is 2.25 for 5:1 compression.pathstrin Path to the file to save the WSQ encoded image.
Exceptions
An error has occurred during Finger Library execution.
static void encodeToFile(FingerImage image, double bitRate, String? path)
Parameters
imageFingerImagein Image to encode to WSQ.bitRatedoublein WSQ encoding bit rate. The lower the bit rate is, the higher is the compression level and vice versa. The recommended bit rate is 0.75. It corresponds to 15:1 compression. Another common bit rate is 2.25 for 5:1 compression.pathStringin Path to the file to save the WSQ encoded image.
Exceptions
An error has occurred during Finger Library execution.
public static void EncodeToFile(FingerImage image, float bitRate, string path)
Parameters
imageFingerImagein Image to encode to WSQ.bitRatefloatin WSQ encoding bit rate. The lower the bit rate is, the higher is the compression level and vice versa. The recommended bit rate is 0.75. It corresponds to 15:1 compression. Another common bit rate is 2.25 for 5:1 compression.pathstringin Path to the file to save the WSQ encoded image.
Exceptions
An error has occurred during Finger Library execution.
public static void encodeToFile(FingerImage image, float bitRate, String path) throws FingerException
Parameters
imageFingerImagein Image to encode to WSQ.bitRatefloatin WSQ encoding bit rate. The lower the bit rate is, the higher is the compression level and vice versa. The recommended bit rate is 0.75. It corresponds to 15:1 compression. Another common bit rate is 2.25 for 5:1 compression.pathStringin Path to the file to save the WSQ encoded image.
Exceptions
An error has occurred during Finger Library execution.
public static func encodeToFile(image: FingerImage, bitRate: Float, path: String) throws
Parameters
imageFingerImagein Image to encode to WSQ.bitRateFloatin WSQ encoding bit rate. The lower the bit rate is, the higher is the compression level and vice versa. The recommended bit rate is 0.75. It corresponds to 15:1 compression. Another common bit rate is 2.25 for 5:1 compression.pathStringin Path to the file to save the WSQ encoded image.
Exceptions
An error has occurred during Finger Library execution.
int id3FingerWsq_EncodeToFile (
ID3_FINGER_IMAGE hImage,
float bitRate,
const char * path)
Parameters
hImageID3_FINGER_IMAGEin Image to encode to WSQ.bitRatefloatin WSQ encoding bit rate. The lower the bit rate is, the higher is the compression level and vice versa. The recommended bit rate is 0.75. It corresponds to 15:1 compression. Another common bit rate is 2.25 for 5:1 compression.pathconst char *in Path to the file to save the WSQ encoded image.
Returns