原创 函數 形參和實參
程序一: #include "stdafx.h" #include <iostream> using namespace std; void reset(int *ip) { *ip=1; } int _tmain(in
原创 [mtalab圖像處理] 灰度的線性變換
clc; clear all; I= imread('cameraman.tif'); % 讀入原圖像 I = im2double(I); % 轉換數據類型爲
原创 SVM 支持向量機
/***************************************************************************** * Number Plate Recogn
原创 [matlab 圖像處理] 閾值分割(直方圖自己算)
close all;%關閉所有窗口 clear;%清除變量的狀態數據 clc;%清除命令行 wangpic=imread('lenargb.bmp'); figure;%打開一個新窗口 imshow(wangpic); title('1
原创 [matlab圖像處理] 灰度化 (自己計算灰度化)
close all;%關閉所有窗口 clear;%清除變量的狀態數據 clc;%清除命令行 wangpic=imread('lenargb.bmp'); figure;%打開一個新窗口 imshow(wangpic); title('1
原创 c/c++指針
程序一: #include "stdafx.h" #include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int a=200,b
原创 C++ 形參
// c++primer.cpp : 定義控制檯應用程序的入口點。 // #include "stdafx.h" #include <iostream> using namespace std; //指針形參 void reset(in
原创 [matlab 圖像處理] 濾波
I=imread('IMG_0493.JPG'); %讀入圖像 J=imnoise(I,'salt & pepper',0.02); %加入椒鹽噪點到圖像 subplot(2,2,1); imsh
原创 [matlab圖像處理] 直方圖歸一化
I=imread('cameraman.tif'); figure; imshow(I); title('1yuantu'); figure; imhist(I); title('2zhifangtu')
原创 車牌檢測(定位)
來自 http://blog.csdn.net/yangtrees/article/details/7444470 這兩天在做關於車牌識別的實驗,用了幾種方式: 1.車牌顏色分佈(HSV空間,YCrCb空間的沒有顏色分佈圖譜,無法
原创 [matlab圖像處理] 閾值分割
%迭代式閾值分割 otsu閾值分割 二值化 close all;%關閉所有窗口 clear;%清除變量的狀態數據 clc;%清除命令行 I=imread('rice.png'); subplot(2,2,1); imshow(I);