首页 > 其他分享 >Vector Quantization

Vector Quantization

时间:2024-03-17 20:57:01浏览次数:19  
标签:set compression number Quantization Vector data

Vector Quantization

Quantization(量化)

Definition:

  • a process of representing a large–possibly infinite – set of values with a much smaller set.
  • Widely Used in Lossy Compression
  • Represent certain image components with fewer bits (compression)
  • With unavoidable distortions (lossy)

Design:
Find the best tradeoff between maximal compression <---> minimal distortion

Scalar quantization (标量量化)

  • A mapping of an input value x into a finite number of output values,y:

    \[Q: x---> y \]

Vector Quantization (VQ)

  • Vector Quantization is used in many applications such as data compression, data correction, and pattern recognition.
  • Vector quantization is a lossy data compression method.
  • It works by dividing a large set of vectors into groups having approximately the same number of points closest to them.
  • Each group is represented by its centroid point, as in k-means and some other clustering algorithms

标签:set,compression,number,Quantization,Vector,data
From: https://www.cnblogs.com/ultramanX/p/18079137

相关文章

  • 发布 VectorTraits v2.0(支持 x86的Sse系列指令集等)
    目录支持x86的Sse系列指令集为Vector128/Vector256补充全部的向量方法提供CPU型号信息结果范例1:X86CPUonWindows结果范例2:ArmCPUonLinux结果范例3:ArmCPUonMacOS提供所支持的指令集信息结果范例1:X86CPUonWindows结果范例2:ArmCPUonLinux结果范例3:Arm......
  • 【c++】vector
    vector的介绍及使用1.vector的介绍https://cplusplus.com/reference/vector/vector/vector是表示可变大小数组的序列容器就像数组一样,vector也采用的连续存储空间来存储元素。也就是意味着可以采用下标对vector的元素进行访问,和数组一样高效。但是又不像数组,它的大小是可以......
  • STL——Vector的使用
    目录一.Vector的简介二.Vector的使用1.创建vector2.vector的初始化2.1.花括号直接初始化2.2.小括号初始化2.2.1一个参数的情况2.2.2.两个参数的情况2.3.用另一个vector初始化三.vector的元素访问1.at2.operator[]3.迭代器访问四.vector的常用函数1.empty()2.siz......
  • 滴水逆向笔记系列-c++总结4-41.new-delete-vector-42.链表
    第四十课c++8new-delete-vector1.内存空间复习在类外函数外的变量就是全局变量,程序一编译地址就已经确定了的临时数据,参数和局部变量就是在堆栈里而使用malloc函数动态申请的则是在堆里2.跟踪调试反汇编函数我们调用malloc函数申请内存,但是不是malloc一个函数完成整个......
  • vector容器
    vector功能:vector数据结构和数组非常相似,也称为单端数组vector与普通数组区别:不同之处在于数组是静态空间,而vector可以动态扩展动态扩展:并不是在原空间之后续接新空间,而是找更大的内存空间,然后将原数据拷贝新空间,释放原空间vector容器的迭代器是支持随机访问的迭......
  • Vector + ClickHouse 收集日志
    目前业界的日志生态,最常用的是ELK,其次就是ClickHouse,本文会演示如何使用Vector+ClickHouse来采集Nginx日志并做清洗,最终写入ClickHouse。至于日志的可视化,后面再单独介绍,后面夜莺会把日志可视化能力下放到开源版本,之前跟映客的兄弟们交流准备一起搞,可惜迟迟没有抽出时间......
  • Coursera自然语言处理专项课程01:Natural Language Processing with Classification an
    NaturalLanguageProcessingwithClassificationandVectorSpacesCourseCertificate本文是NaturalLanguageProcessingwithClassificationandVectorSpaces这门课的学习笔记,仅供个人学习使用,如有侵权,请联系删除。文章目录NaturalLanguageProcessingwi......
  • 04_C++字符串_vector使用
    1.初始化vector vector<int>v1;默认初始化vector<int>v2(10);10个int类型的元素,初始化值为-1vector<string>v3{"a","bb","ccc"};列表初始化,包括三个元素2.向vector添加元素#include<iostream>#include<string>#include<vector>......
  • Qt QByteArray与int、float、vector互转
    QByteArray的转换一般在串口通信中常用,将int、float、double转换为4个字节的数组(如255->[0,0,0,255],本文章一律用10进制表示),或将4个字节的数组转换为int、float、double(如[0,0,0,255]->255)。在QT界面中的使用流程,笔者总结为以下思路:从上位机发送一帧指令到串口(封包、根据具体......
  • vector容器学习
    vector容器小贴士:a[3]==*(a+3)//a+3代表a的首地址偏离三个元素位置的地址,加上指针代表所指的具体内容一个程序退出编号不为0,则说明程序被异常终止Processfinishedwithexitcode3 vector容器简介vector是将元素置于动态数组中加以管理的容器vector可以随......