chapter9.cpp

来自「資料壓縮的原理與應用 SPIHT三個串列的運算之C程式」· C++ 代码 · 共 23 行

CPP
23
字号
//---------------------------------------------------------------------------#include <vcl.h>#pragma hdrstop#include "chapter9.h"#include <iostream.h>#include <math.h>#include <math.hpp>//---------------------------------------------------------------------------#pragma package(smart_init)void SPIHTAlgorithmInitialize(float max_coefficient, float *threshold,                                SPIHTCoefficient H[],                                List *LIP, List *LIS) {    int max_coefficient_bits = (int)Log2(abs(max_coefficient));    *threshold = (float)pow((double)2, (double)max_coefficient_bits);    for (int i=0; i<4; i++)    {        //Add 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?