摘要: 首先,进行非均匀量化,H,S,V三通道分别量化为16,4,4级,返回一个向量。量化依据如下表:function vec = getHsvHist(Image)[M,N,O] = size(Image);if O~= 3 error('3 components are needed for hi... 阅读全文
posted @ 2015-07-27 13:58 denny402 阅读(4125) 评论(0) 推荐(0)
摘要: 在matlab中进行图像处理,一般使用的都是图像本地坐标,以左上角(1,1)开始。处理完成后,如果要将结果在带地理坐标的遥感影像中显示,或者需要输出成shp文件,就需要涉及到本地坐标和地理坐标的转换,我们可以使用pix2map函数来实现这个功能。clc;clear;close all;[pic, R... 阅读全文
posted @ 2015-07-27 01:21 denny402 阅读(5150) 评论(0) 推荐(0)
摘要: clc;close all;clear;road=shaperead('boston_roads.shp'); %读取shape文件figure,mapshow('boston.tif'); %读取tif遥感影像并显示axis image manual off; %关闭本地坐标系统surveyF... 阅读全文
posted @ 2015-07-27 00:03 denny402 阅读(3427) 评论(0) 推荐(0)