--lut library lpm; library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; entity lut is port (ad…
SRAM+LUT 源代码
汇集 SRAM+LUT 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
-- -- Risc5x -- www.OpenCores.Org - November 2001 -- -- -- This library is free software; you can distribute it and/or modify…
#include "mex.h" #include #include #include #include /* * performs LUT on an array: B[k] = A[LUT[k]] * * Usage: * B = myl…
%LUT operation % % performs LUT on an array: B[k] = A[LUT[k]] % % Usage: % B = mylut(A, LUT) % % Inputs: % A: indexing i…
%首先利用嵌入函数创建查找表 f=inline('sum(x(:)) == 4'); lut = makelut(f,2); %然后调用applylut函数利用查找表lut对图像进行操作 I1 = imread('text.tif'); I2 = a…
function g = endpoints(f) %ENDPOINTS Computes end points of a binary image. % G = ENDPOINTS(F) computes the end points of the …
lut = makelut('sum(x(:)) == 4',2); BW = imread('text.png'); BW2 = applylut(BW,lut); imview(BW), imview(BW2)
// $Header: /devl/xcs/repo/env/Databases/CAEInterfaces/verunilibs/data/unisims/LUT4.v,v 1.6 2005/03/14 22:32:54 yanx Exp $ ///////…
// $Header: /devl/xcs/repo/env/Databases/CAEInterfaces/verunilibs/data/unisims/LUT3.v,v 1.6 2005/03/14 22:32:54 yanx Exp $ ///////…
%首先利用嵌入函数创建查找表 f=inline('sum(x(:)) == 4'); lut = makelut(f,2); %然后调用applylut函数利用查找表lut对图像进行操作 I1 = imread('text.tif'); I2 = a…