Location:
Search - LookUpTable
Search list
Description: 查找表发数字图像处理示例程序。可以对图像灰度线性变换,显示直方图。
Platform: |
Size: 113207 |
Author: 无忧居士 |
Hits:
Description: 查找表发数字图像处理示例程序。可以对图像灰度线性变换,显示直方图。-Lookup table-fat sample digital image processing procedures. Grayscale images can be linear transformation, histogram display.
Platform: |
Size: 114688 |
Author: 无忧居士 |
Hits:
Description: 计算出最重要的256色,构造查找表,将24色图转变为256色图-Calculate the most important 256-color, structure look-up table, the 24-color map into a 256-color map
Platform: |
Size: 3072 |
Author: renyuanfang |
Hits:
Description: 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
Platform: |
Size: 137216 |
Author: 赵中原 |
Hits: