Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - matlab gray level
Search - matlab gray level - List

% Matlab implementation of SPIHT (without Arithmatic coding stage)
%
% By Jing Tian, scuteejtian@hotmail.com

fprintf('-----------   Welcome to SPIHT Matlab Demo!   ----------------\n');

fprintf('-----------   Load Image   ----------------\n');
infilename = 'lena512.bmp';
outfilename = 'lena512_reconstruct.bmp';

Orig_I = double(imread(infilename));

rate = 1;

OrigSize = size(Orig_I, 1);
max_bits = floor(rate * OrigSize^2);
OutSize = OrigSize;
image_spiht = zeros(size(Orig_I));
[nRow, nColumn] = size(Orig_I);

fprintf('done!\n');
fprintf('-----------   Wavelet Decomposition   ----------------\n');
n = size(Orig_I,1);
n_log = log2(n);
level = n_log;
% wavelet decomposition level can be defined by users manually.
type = 'bior4.4';
[Lo_D,Hi_D,Lo_R,Hi_R] = wfilters(type);

[I_W, S] = func_DWT(Orig_I, level, Lo_D, Hi_D);

fprintf('done!\n');

fprintf('-----------   Encoding   ----------------\n');
img_enc = func_SPIHT_Enc(I_W, max_bits, nRow*nColumn, level);  

fprintf('done!\n');
fprintf('-----------   Decoding   ----------------\n');
img_dec = func_SPIHT_Dec(img_enc);

fprintf('done!\n');
fprintf('-----------   Wavelet Reconstruction   ----------------\n');
img_spiht = func_InvDWT(img_dec, S, Lo_R, Hi_R, level);

fprintf('done!\n');
fprintf('-----------   PSNR analysis   ----------------\n');

imwrite(img_spiht, gray(256), outfilename, 'bmp');

Q = 255;
MSE = sum(sum((img_spiht-Orig_I).^2))/nRow / nColumn;
fprintf('The psnr performance is %.2f dB\n', 10*log10(Q*Q/MSE));


Update : 2008-07-07 Size : 227.42kb Publisher : jasonchang

利用matlab读取灰度图数据并转换成raw,便于对raw用做DSP、单片机或者FPGA处理的源数据-read using Matlab gray level data and converted into raw, raw easy to do using DSP, MCU or FPGA processing of source data
Update : 2008-10-13 Size : 47.89kb Publisher : gaozhibin

图像集群(Image Clustering) (1)图像读入,显示图像所在路径; (2)采用imgcluster函数进行图像集群,选择集群个数后进行图像集群; (3)运行后,在原图像上显示集群灰度图; (4)若要显示各个集群情况,可打开【Show Clustering Image】新窗体,显示各集群类的基于原图的彩绘区域。其中非当前集群范围,则显示灰度为255的黑色。用户可点击按纽上下查看所有集群图。-image cluster (Image Clustering) (1) read into the images, Images show host path; (2) use of imgcluster function for image clusters, After the number of clusters chosen for image clusters; (3) After the operation, in the original image displayed on the gray level clusters; (4) To show that the various clusters, [Show Open Clustering Image-- new windows, showed that the cluster type based on the maximum of regional painting. Clusters of non-current range, it shows that the intensity of 255 black. Users can click on View All button next cluster map.
Update : 2025-02-19 Size : 111kb Publisher : mecal

基于图像的灰度共生矩阵方法的图像纹理分割-Gray-level image-based methods of co-occurrence matrix image texture segmentation
Update : 2025-02-19 Size : 1kb Publisher : xxyyff

运用二维最大熵方法对灰度图象进行分割的matlab源码-The use of two-dimensional maximum entropy method of gray-scale image segmentation matlab source
Update : 2025-02-19 Size : 1kb Publisher : wind

基于常用的灰度变换法和直方图均衡化法等图像增强算法,提出了一种对比度增强算法.该算法首先对直方图进行平滑处理,再进行直方图均衡化,然后在整个显示范围内对图像灰度级进行等间距排列,最后对图像进行中-Gray-scale transformation based on common law and the histogram equalization method, such as image enhancement algorithm, a contrast enhancement algorithm. The algorithm first histogram smoothing processing, and then histogram equalization, and then displayed in the entire range of image gray level spacing, etc. with the final image in
Update : 2025-02-19 Size : 1kb Publisher : ivy

灰度共生矩阵和灰度梯度共生矩阵的提取方式,是比较重要的纹理特征提取方法,用matlab实现的-Gray Level Co-occurrence matrix and gray-gradient co-occurrence matrix extraction method is more important texture feature extraction method, using matlab realize the
Update : 2025-02-19 Size : 2kb Publisher : 明明

灰度共生矩阵的计算程序,包括子程序,可以用在纹理分析上,还不错-Gray-level co-occurrence matrix calculation procedures, including subroutines, can be used in texture analysis, but also good
Update : 2025-02-19 Size : 1kb Publisher :

gray level slicing with background it is a type of point processing technique used in image pro cessing
Update : 2025-02-19 Size : 1kb Publisher : milan

灰度共生矩阵和灰度梯度共生矩阵纹理提取,能够计算纹理的多个测度-Gray Level Co-occurrence matrix and gray-gradient co-occurrence matrix texture extraction
Update : 2025-02-19 Size : 3kb Publisher : 王淑香

DL : 0
it s a matlab code for reduce gray level
Update : 2025-02-19 Size : 977kb Publisher : carl

基于阈值分割的运动车辆检测跟踪,在视频中按灰度阈值不同进行图像分割,并标记结果。-Threshold-based segmentation to track the movement of vehicles detected in the video by a different gray level threshold for image segmentation, and mark the results.
Update : 2025-02-19 Size : 109kb Publisher : 哈田甜哈

自己现在在做的论文用到灰度共生矩阵,找了好久都没找到很好用的,所以自己就编了个,不很完美,但绝对可用,已经实现过。包括灰度共生矩阵的生成以及一些特征参数。f1,二阶距。f2,对比度。f3,相关。f5,逆差距。f6,和平均。f7,和方差。f9,差平均。f10,差方差。请不吝赐教。-Now do their own papers in the gray co-occurrence matrix used to find for a long time to find no good use, so it编了个own, not very ideal, but it is available, have been implemented. Including the generation of gray-level co-occurrence matrix as well as some characteristic parameters. f1, the second order from. f2, contrast. f3, related. f5, inverse gap. f6, and the average. f7, and the variance. f9, the average difference. f10, difference variance. Please wing.
Update : 2025-02-19 Size : 2kb Publisher : 周鹏

gray level run length martix-gray level run length martix
Update : 2025-02-19 Size : 3kb Publisher : muhammet

提取纹理特征参数,主要是灰度共生矩阵源代码,用于图像处理-gray level co-matrix source code,used for the image processing, to get the texture features
Update : 2025-02-19 Size : 9kb Publisher : codesoso

DL : 0
fractal image compression of gray scale images.... only works for square images... try with lena.bmp a gray scale one.... good compression ratio acheived
Update : 2025-02-19 Size : 4kb Publisher : Koushik

算差分盒维数的matlab程序。 让窗口中的每个像素都对分数维作出贡献。首先,计算某一尺度窗口的平均灰度值 ,然后判断每一个像素的灰度 ,若大于灰度平均值 ,则累加其灰度值为 max ,若小于灰度平均值 ,则累加其灰度值为min ,用max 和min代替 在 Sarkar 和 Chaudhuri 算法中的最大值和最小值 ,再通过拟合求出分数维。 -Differential count box dimension matlab program. Let window on the fractal dimension of each pixel to contribute. First, the calculation of an average gray scale of the window, and then determine the gray scale of each pixel, if the intensity is greater than the average, the cumulative value of its gray max, if less than the average gray level, the accumulation of its gray value of min, max and min to use instead of the algorithm in Sarkar and Chaudhuri maximum and minimum, and then by fitting the calculated fractal dimension.
Update : 2025-02-19 Size : 1kb Publisher : 冯家乐

灰度游程矩阵四个方向,每个方向都有11个特征(Gray-level run-length, 11 features in total, four directions)
Update : 2025-02-19 Size : 5kb Publisher : alva

用MATLAB做图像的基本运算,包括灰度变换,窗口技术,平移,旋转,缩放等处理(matlab image process include gray level transformation)
Update : 2025-02-19 Size : 4kb Publisher : victoryfeng

MATLAB缺陷检测系统 该课题为基于形态学的缺陷检测,素材采用的是光伏板缺陷。通过灰度,二值化,边缘检测,形态学,开闭运算,去除小面积干扰等方法,判断出缺陷所在,定位,并且框出,且计算出各个块面积。配有一个人机交互界面,把缺陷个数,面积等分别显示到GUI界面上。(Matlab defect detection system This topic is based on the morphological defect detection, the material is photovoltaic board defect. Through gray level, binarization, edge detection, morphology, opening and closing operation, small area interference removal and other methods, the defects are identified, located, framed, and the area of each block is calculated. Equipped with a personal computer interface, the number of defects, area, etc. are displayed on the GUI interface.)
Update : 2025-02-19 Size : 654kb Publisher : for Matlab
« 12 3 4 5 6 7 8 9 10 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.