- 博客(2)
- 收藏
- 关注
原创 Qt使用avcodec_send_frame和avcodec_receive_packet程序段错误
报错The inferiorstoppedbecause it triggered anexception. Stopped in thread 9 by: Exception at 0x75cd4e3f,code:0xc00000005:read accessviolation at: 0x1, flags=0x0.int got_picture = 0;int ret = 1;/* encode the image */if(pkt == nullptr){ ...
2021-10-22 10:25:08
1517
1
原创 MATLAB提取像素矩阵中的一个圆环
前言提取像素矩阵中的一个圆环一、方法(1)读取一帧照片(2)确定一个圆在像素矩阵中的坐标,同理多个圆(3)根据坐标提取圆环在像素矩阵中对应的像素值二、使用步骤1.MATLAB实现代码如下(示例):clc;clear;frameImg = imread('03.bmp');[m ,n ,k]=size(frameImg);figure(1);imshow(frameImg);%像素矩阵中心坐标ox=n/2;oy=m/2;%采样点个数721th=0:0.5:360;xr
2021-06-22 17:25:10
3046
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人