- 博客(3)
- 收藏
- 关注

原创 MATLAB区域标记提取指定编号区域
本程序针对二值化后分割图像进行感兴趣区域提取,对研究图像分割区域提取有一定的参考价值。clcclearclose allI= imread('gend.bmp');figure(1);imshow(I);I=im2bw(I);[L, num] = bwlabel(I);STATS1=regionprops(L,'Perimeter'); ahe=size(
2016-04-19 09:21:51
11637
5
原创 大型项目中函数重载的应用
今天主要是写继承类如何重载父类函数,并调用继承函数。下面从实例出发介绍。#include <iostream>using namespace std;class A{public: A() { c = 0; d = 0; result = 0; } void getdata(int a, in...
2018-09-19 11:32:51
493
原创 不分区大小写字母个数统计及其它字符个数统计
//函数功能是计算出一个字符串中每个字符的个数,不区分大小写。#includeusing namespace std;void func(const char* src, int len){unsigned char all[256] = { 0 };int i;if (src == NULL){return;}for (int j = 0; j{
2016-11-12 22:23:01
574
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人