• 大小: 66KB
    文件类型: .zip
    金币: 2
    下载: 0 次
    发布日期: 2023-12-30
  • 语言: Matlab
  • 标签: image  

资源简介

image normalization 对图像归一化的matlab程序 平移、缩放和旋转归一化! 可用于模式识别,数字水印。

资源截图

代码片段和文件信息

function invnormim = iminvnorm(normim height width normtform udata vdata)
%
% Perform inverse normalization on a normalized image
%
% Input:
%   normim: normalized grayscale image
%   height width: size of the original (unnormalized) image
%   normtform: tform of normalization
%   udata vdata: coordinates of the normalized image
%
% Output:
%   invnormim: inversely normalized version of the normalized image
%
% Copyright (c) Yuan-Liang Tang
% Associate Professor
% Department of Information Management
% Chaoyang University of Technology
% Taichung Taiwan
% Email: yltang@cyut.edu.tw
% http://www.cyut.edu.tw/~yltang

% Permission is hereby granted free of charge to any person obtaining
% a copy of this software without restriction subject to the following
% conditions:
% The above copyright notice and this permission notice should be included
% in all copies or substantial portions of the Software.
%
% The Software is provided “as is“ without warranty of any kind.
%
% Created: Mar. 3 2008
% Last updated: Jul. 30 2009
%
if ~isa(normim ‘double‘)
  normim = double(normim);
end
% Inverse normalization
[invnormim xdata ydata] = imtransform(normim fliptform(normtform) ...
  ‘UData‘ udata ‘VData‘ vdata ‘XData‘ [1 width] ‘YData‘ [1 height] ...
  ‘XYScale‘ 1);
figure(‘Name‘ ‘Inversely normalized‘) imshow(invnormim[]) impixelinfo;


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件          58  2008-04-09 17:12  Archive created by free jZip.url
     文件        1415  2009-07-30 12:56  iminvnorm.m
     文件        4556  2009-07-30 12:56  imnorm.m
     文件       76664  2009-03-24 20:15  lena.tif
     文件        1336  2009-07-30 01:01  license.txt
     文件         929  2009-07-30 12:57  test.m

评论

共有 条评论