首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏mythsman的个人博客

    用Python进行边缘检测

    -2,width-2)) for i in range(height-2): for j in range(width-2): ans[i,j]=np.sum(im_arr -2,width-2)) for i in range(height-2): for j in range(width-2): ans[i,j]=np.sum(im_arr -2,width-2)) gy=np.zeros((height-2,width-2)) for i in range(height-2): for j in range(width -2,width-2)) gy=np.zeros((height-2,width-2)) for i in range(height-2): for j in range(width -2,width-2)) gy=np.zeros((height-2,width-2)) for i in range(height-2): for j in range(width

    1.9K21编辑于 2022-11-14
  • 来自专栏fastmock

    less循环生成n个类

    height: 1px * @i; } .generate-height(@n, (@i + 1)); } 生成的css内容如下: .height-1 { height: 1px; } .height

    93810编辑于 2022-10-27
  • 来自专栏气象学家

    北斗探空BUFR数据读取

    Latitude_high_accuracy Longitude_high_accuracy Height_of_station_ground_above_mean_sea_level Height Height Latitude_high_accuracy Longitude_high_accuracy Height_of_station_ground_above_mean_sea_level Height Height

    17710编辑于 2026-03-25
  • 来自专栏wujunmin

    双指标比较的一种另类方式

    stroke-width='0.5' stroke-dasharray='2,1'/> <text x='" &20+200 * MedianSales / MaxSales+1& "' y='" & <em>Height</em>

    74720编辑于 2022-02-09
  • [C++][opencv]基于opencv实现photoshop算法高反差保留

    if(new_x>=width-1) new_x=width-2; if(new_y<0) new_y=0; if(new_y>=height-1) new_y=height (new_x>=width-1) new_x = width-2; if(new_y<0) new_y = 0; if(new_y>=height-1) new_y = height

    21700编辑于 2025-07-21
  • 来自专栏猫头虎博客专区

    java中验证码的使用

    填充背景 g.setColor(Color.LIGHT_GRAY);//设置边框颜色 g.setFont(new Font("Arial", Font.BOLD, height

    76710编辑于 2024-04-07
  • 来自专栏mythsman的个人博客

    二值形态学之击中击不中变换

    #迭代直至无变化 before=arr.copy() for m in mat:#使用八个模板进行变换 mark=[] for i in xrange(height

    1.4K30编辑于 2022-11-14
  • 来自专栏c++与qt学习

    贪吃蛇小游戏

    Body { //蛇身的坐标 int x; int y; }; struct Snake { //结构体嵌套结构体 //蛇身最大长度 struct Body body[(width-2)*(height

    74210发布于 2021-03-04
  • 来自专栏小樱的经验随笔

    Vijos P1497 立体图【模拟】

    draw(height - 2 * (m - i) - ((k-1)*3), 4 * (j - 1) + 1 + (m - i) * 2); 6 } i和j是格子的坐标,k是格子的高度 height

    1.1K60发布于 2018-04-09
  • 来自专栏秋风的笔记

    不再切图!CSS实现渐变提示框(tooltips)

    width-2*radius,0); ctx.arc(width-radius,radius,radius,-deg,0); ctx.lineTo(width,height ctx.arc(width-radius-lineWidth,radius+lineWidth,radius,-deg,0); ctx.lineTo(width-lineWidth,height

    2.5K10发布于 2021-07-09
  • 来自专栏机器学习与python集中营

    空洞卷积的设计原理以及tensorflow和mxnet框架实现

    结果返回一个Tensor,填充方式为“VALID”时,返回[batch,height-2*(filter_width-1),width-2*(filter_height-1),out_channels]

    2.6K10发布于 2019-06-02
  • 来自专栏python技术开发

    Python练手项目实例汇总(附源码)

    self.SpendTime=Label(master,text='0.0',bg='black',fg='red') self.LineDisplay.grid(row=HEIGHT -2,column=WIDTH,columnspan=2) self.Line.grid(row=HEIGHT-2,column=WIDTH+2,columnspan=3) self.SpendTime=Label(master,text='0.0',bg='black',fg='red') self.LineDisplay.grid(row=HEIGHT -2,column=WIDTH,columnspan=2) self.Line.grid(row=HEIGHT-2,column=WIDTH+2,columnspan=3)

    3.9K40发布于 2021-01-27
  • 来自专栏后端开发笔记

    Javaweb核心响应对象

    ); //设置颜色 g.setColor(Color.GRAY); //填充矩形 g.fillRect(1, 1, width-2, height

    86130编辑于 2022-11-18
  • 来自专栏历史专栏

    【愚公系列】2023年03月 Java教学课程 090-Servlet服务器的Response

    ); //设置颜色 g.setColor(Color.GRAY); //填充矩形 g.fillRect(1, 1, width-2, height

    50020编辑于 2023-03-17
  • 来自专栏流川疯编写程序的艺术

    Retinex图像增强算法代码

    OrgImg; sum=new int[width*height]; pData=ResData+width+1; // Ini(OrgImg,width,height,sum); for(i=0;i<height OrgImg; sum=new int[width*height]; pData=ResData+width+1; // Ini(OrgImg,width,height,sum); for(i=0;i<height

    1.1K30编辑于 2022-05-06
  • 来自专栏python学习教程

    Python游戏开发 制作AI贪吃蛇!

    97 elif move == DOWN: 98 flag = True if idx < (FIELD_SIZE - 2 * WIDTH) else False # 即idx/WIDTH < HEIGHT

    1.3K20发布于 2020-08-21
  • 来自专栏好好学java的技术栈

    七夕不送礼,送礼就送HttpServletResponse,一看就懂

    // 设置边框颜色 g.setColor(Color.BLUE); // 边框区域 g.drawRect(1, 1, WIDTH-2, HEIGHT

    57710发布于 2018-09-21
  • 来自专栏Java帮帮-微信公众号-技术文章全总结

    Web-第九天 ServletContext&Response&request学习

    g.setColor(Color.BLACK); g.fillRect(0, 0, width, height); g.setColor(Color.WHITE); g.fillRect(1, 1, width-2, height

    89830发布于 2018-07-27
  • 来自专栏信数据得永生

    使用 Python 和 Pygame 制作游戏:第九章到第十章

    choose a box whose color to copy x = random.randint(1, width-2) y = random.randint(1, height

    1.4K10编辑于 2024-01-15
领券