Perfect spatial hashing

被引:110
|
作者
Lefebvre, Sylvain [1 ]
Hoppe, Hugues [1 ]
机构
[1] Microsoft Corp, Res, Redmond, WA 98052 USA
来源
ACM TRANSACTIONS ON GRAPHICS | 2006年 / 25卷 / 03期
关键词
minimal perfect hash; multidimensional hashing; sparse data; adaptive textures; vector images; 3D-parameterized textures;
D O I
10.1145/1141911.1141926
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We explore using hashing to pack sparse data into a compact table while retaining efficient random access. Specifically, we design a perfect multidimensional hash function - one that is precomputed on static data to have no hash collisions. Because our hash function makes a single reference to a small offset table, queries always involve exactly two memory accesses and are thus ideally suited for parallel SIMD evaluation on graphics hardware. Whereas prior hashing work strives for pseudorandom mappings, we instead design the hash function to preserve spatial coherence and thereby improve runtime locality of reference. We demonstrate numerous graphics applications including vector images, texture sprites, alpha channel compression, 3D-parameterized textures, 3D painting, simulation, and collision detection.
引用
收藏
页码:579 / 588
页数:10
相关论文
共 50 条
  • [1] Perfect hashing
    Czech, ZJ
    Havas, G
    Majewski, BS
    THEORETICAL COMPUTER SCIENCE, 1997, 182 (1-2) : 1 - 143
  • [2] Perfect Spatial Hashing for Point-cloud-to-mesh Registration
    Mejia-Parra, Daniel
    Lalinde-Pulido, Juan
    Sanchez, Jairo R.
    Ruiz-Salguero, Oscar
    Posada, Jorge
    XXIX SPANISH COMPUTER GRAPHICS CONFERENCE (CEIG19), 2019, : 41 - 50
  • [3] PRACTICAL PERFECT HASHING
    CORMACK, GV
    HORSPOOL, RNS
    KAISERSWERTH, M
    COMPUTER JOURNAL, 1985, 28 (01): : 54 - 58
  • [4] Minimal perfect hashing
    Pescio, C
    DR DOBBS JOURNAL, 1996, 21 (07): : 101 - +
  • [5] Perfect Hashing as an Almost Perfect Subtype Test
    Ducournau, Roland
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2008, 30 (06):
  • [6] A family of perfect hashing methods
    Majewski, BS
    Wormald, NC
    Havas, G
    Czech, ZJ
    COMPUTER JOURNAL, 1996, 39 (06): : 547 - 554
  • [7] Perfect hashing for network applications
    Lu, Yi
    Prabhakar, Balaji
    Bonomi, Flavio
    2006 IEEE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY, VOLS 1-6, PROCEEDINGS, 2006, : 2774 - +
  • [8] Recursive bounds for perfect hashing
    Fachini, E
    Nilli, A
    DISCRETE APPLIED MATHEMATICS, 2001, 111 (03) : 307 - 311
  • [9] COLLECTIONS OF FUNCTIONS FOR PERFECT HASHING
    BERMAN, F
    BOCK, ME
    DITTERT, E
    ODONNELL, MJ
    PLANK, D
    SIAM JOURNAL ON COMPUTING, 1986, 15 (02) : 604 - 618
  • [10] Quasi-perfect hashing
    Czech, ZJ
    COMPUTER JOURNAL, 1998, 41 (06): : 416 - 421