-
FPGA图像处理
对图像处理的程序,灰度化正常的,加入其他算法显示屏就黑屏了,是什么原因?搜索复制
2022-01-05 2 -
otsu阈值算法,显示屏输出黑屏
`timescale1ns/1psmoduleotsu_yuzhi(inputwireclk,inputwirerst,inputwire[7:0]data_in,//inputwirede,outputreg[7:0]threshold,outputwire[7:0]data_out,inputhd_hs,inputhd_vs,inputhd_de,outputregyuzhi_hs,outputregyuzhi_vs,outputregyuzhi_de);parameterdata_cnt_max=24'd786432;parametertime_max=28'd201326592;reg[7:0]T;reg[23:0]data_cnt;reg[27:0]data0;reg[27:0]data1;reg[27:0]data_01;reg[23:0]data0_cnt;reg[23:0]data1_cnt;reg[23:0]w0;reg[23:0]w1;reg[27:0]u0;reg[27:0]u1;reg[27:0]u;wire[27:0]g;reg[27:0]g2;reg[27:0]max;reg[27:0]time_cnt;//数据计数always@(posedgeclkorposedgerst)beginif(rst==1'b1)data_cnt
2022-01-05 0