📄 chapter9.cpp
字号:
//---------------------------------------------------------------------------#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -