function Vq = qround(V,b) %QROUND Quantizes (rounds) decimal part. % % Vq=QROUND(V,b) quantizes the decimal part of each elem…
VQ-LBG 源代码
汇集 VQ-LBG 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/* * WPS_QUEUE.H : WPS Common Used Queue Module * * ver date author comment * 0.0.1 08/…
function Vq = qround(V,b) %QROUND Quantizes (rounds) decimal part. % % Vq=QROUND(V,b) quantizes the decimal part of each elem…
function do_vq(config_file) %% Function takes the regions in interest_points directory, along with %% their descirptors and vecto…
function do_form_codebook(config_file,codebook_name,codebook_size) %% Function takes the regions from all training images in th…
function main_VQ_PCA clear clc i = 0; for blocksize = 2: 2: 20 nwds = 150; i = i + 1; [mse_VQ1(i),R2_VQ1(i)…
#include #include using namespace std; int main ( ) {float h,r,l,s,sq,vq,vz; const float pi=3.1415926; coutr>>h; l=2*p…
#include #include using namespace std; int main ( ) {float h,r,l,s,sq,vq,vz; const float pi=3.1415926; coutr>>h; l=2*p…
%程序L3_3.m: 向量量化器的码本的产生% %利用LBG法产生三个不同大小与维度的码本% load lena %读入一幅512×512的图像矩阵 th=0.1; %设定LBG程序停止训练…
%程序L3_3.m: 向量量化器的码本的产生% %利用LBG法产生三个不同大小与维度的码本% load lena %读入一幅512×512的图像矩阵 th=0.1; %设定LBG程序停止训练…