OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2269|回复: 1

精英版进行图像二值化时的矩阵提取

[复制链接]

3

主题

10

帖子

0

精华

新手上路

积分
20
金钱
20
注册时间
2019-7-31
在线时间
7 小时
发表于 2019-7-31 16:38:03 | 显示全部楼层 |阅读模式
最近在用精英版学习图像处理,在进行二值化后发现二值化图像噪声太大,决定使用中值滤波法,但是在将二值化后的数值放在二维矩阵时数组的定义出现了问题。希望大佬们可以一起学习,讨论。下面是我的问题:
首先定义矩阵u8  Image_saving[320][240];
然后定义了循环变量u32  i,j,m=0,n=0;
再两个for循环中对数组进行赋值Image_saving[m][n]=color;
                                                        n++;
但是报错
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.bss).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(STACK).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching usmart_config.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.bss).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching libspace.o(.bss).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching usmart_config.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching usmart.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching system_stm32f10x.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_rcc.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching lcd.o(.bss).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching lcd.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching timer.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching delay.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching key.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching exti.o(.data).
..\OBJ\OV7670.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(HEAP).
..\OBJ\OV7670.axf: Error: L6407E: Sections of aggregate size 0x132d4 bytes could not fit into .ANY selector(s).

想请教大佬怎么处理大数组才可以正常使用(精英版)

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

31

主题

2183

帖子

0

精华

资深版主

Rank: 8Rank: 8

积分
14412
金钱
14412
注册时间
2018-8-3
在线时间
1156 小时
发表于 2019-7-31 18:21:08 | 显示全部楼层
这个是内存爆了 删变量 或者删 代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-5-30 19:18

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表