Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - LookUpTable
Search - LookUpTable - List
查找表发数字图像处理示例程序。可以对图像灰度线性变换,显示直方图。
Date : 2008-10-13 Size : 110.55kb User : 无忧居士

查找表发数字图像处理示例程序。可以对图像灰度线性变换,显示直方图。-Lookup table-fat sample digital image processing procedures. Grayscale images can be linear transformation, histogram display.
Date : 2025-07-06 Size : 112kb User : 无忧居士

计算出最重要的256色,构造查找表,将24色图转变为256色图-Calculate the most important 256-color, structure look-up table, the 24-color map into a 256-color map
Date : 2025-07-06 Size : 3kb User : renyuanfang

ENTITY maj IS PORT(a,b,c : IN BIT m : OUT BIT) END maj --Dataflow style architecture --Behavioural style architecture using a look-up table ARCHITECTURE using_table OF maj IS BEGIN PROCESS(a,b,c) CONSTANT lookuptable : BIT_VECTOR(0 TO 7) := "00010111" VARIABLE index : NATURAL BEGIN index := 0 --index must be cleared each time process executes IF a = 1 THEN index := index + 1 END IF IF b = 1 THEN index := index + 2 END IF IF c = 1 THEN index := index + 4 END IF m <= lookuptable(index) END PROCESS END using_table ------------------3,5,6,7 is 1 so 110 101 011 111 is 1-ENTITY maj IS PORT(a,b,c : IN BIT m : OUT BIT) END maj --Dataflow style architecture --Behavioural style architecture using a look-up table ARCHITECTURE using_table OF maj IS BEGIN PROCESS(a,b,c) CONSTANT lookuptable : BIT_VECTOR(0 TO 7) := "00010111" VARIABLE index : NATURAL BEGIN index := 0 --index must be cleared each time process executes IF a = 1 THEN index := index+ 1 END IF IF b = 1 THEN index := index+ 2 END IF IF c = 1 THEN index := index+ 4 END IF m <= lookuptable(index) END PROCESS END using_table ------------------3,5,6,7 is 1 so 110 101 011 111 is 1
Date : 2025-07-06 Size : 134kb User : 赵中原
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.