This might help to mange the orientation of image:
# To read ENVI
formatcir.image<-("YOUR_ENVI_FILE")CIR.envi<-read.ENVI(cir.image,headerfile=paste(cir.image,".hdr",sep=""))#
To Show
imageCIR.envi.band1<-CIR.envi[,,1]CIR.envi.band1.s<-CIR.envi.band1[order(nrow(CIR.envi.band1):1),]CIR.envi.ban
ial
> Resampling> From: [EMAIL PROTECTED]> To: r-sig-geo@stat.math.ethz.ch> CC:
> [EMAIL PROTECTED]> > Pujan Raj Regmi <[EMAIL PROTECTED]> writes:> > > I have
> a satellite image of 12m spatial resolution (4 bands). I want to> > resample
> to coarser
Dear sir,
Thank you very much for help.
Pujan
> Date: Fri, 25 Jul 2008 09:59:50 +0800> Subject: [R-sig-Geo] Spatial
> Resampling> From: [EMAIL PROTECTED]> To: r-sig-geo@stat.math.ethz.ch> CC:
> [EMAIL PROTECTED]> > Pujan Raj Regmi <[EMAIL PROTECTED]> writes:
Dear,
Thank you very much.
Pujan
CC: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [R-sig-Geo] To
fix the axis incrementDate: Fri, 25 Jul 2008 00:04:13 -0500Take a look at
eqscplot(), a function in the MASS library.
On Jul 22, 2008, at 8:00 AM, PUJAN RAJ REGMI wrote:
Dear
Dear all,
I have a satellite image of 12m spatial resolution (4 bands). I want to
resample to coarser level. i.e. to 18m, 24m,30m,36m and so on.
The result I got from ENVI are not realistic so I want to do it in R using
weighted average from neighboring pixels.
I would appreciated any help.
Thank
Dear all,
I am trying to plot 2-D scatter data in R, but i am having problem in fixing
the increment in x and y axes. I am referring the function "axis equal" in
Matlab by which the axes have same increment.
Thanking you,
Pujan
_
e
Dear list,
I am looking for R- package to compute correlogram and fit a model in it.
Thanking you in advance
Regards
Pujan
_
The other season of giving begins 6/24/08. Check out the im Talkathon.
[[alternative HTML version de
Dear list,
I am trying to perform normality test for my data set. my data set is quite
large N>13000 with 4 valriables under study , so When I tried to do normality
test for each variable using lillie.test of nortest package the p values is
almost zero "2.16e-16". So for all variable the test r
Dear list,
I am trying to use semivariogram for texture classification for RS imagery. For
this I am using the techniques of minimum distance algorithm to classy the
image. To calculate minimum distance which is actually based on the gamma value
of training site for each lag and those of pixel
Dear all,
I am trying to replace the value in a matrix by specific value form noter
matrix. The problem I am facing is: The size of one matrix is 30294 by 23(say
matrix A) while the other matrix from which the values are intented to be
extrated has the dimensions i.e. 14813 by 23(say matrix B).
Dear Sir,
When I looked at the sent file in my mail box , the mail seems ok but the one i
get it back from r-sig-geo@stat.math.ethz.ch it was completely meshed up. I am
sorry for that.
Now I am sending a copy of my code again:
A<-read.table(file.choose(new=FALSE), sep = ",",skip=1,header=FALSE)
Dear list, I tried to fit the model variogram to the experimental
semivariogram. I used the following code:
A<-read.table(file.choose(new=FALSE), sep = ",",skip=1,header=FALSE)
names(A) <- c("S.N","x", "y", "B1","B2","B3","B4")
library(sp)
library(gstat)
coordinates(A) = ~x+y
C<-vari
Dear list,
I tried to fit the model variogram to the experimental semivariogram. I used
the following code:
A<-read.table(file.choose(new=FALSE), sep = "",skip=8,header=FALSE)
names(A) <- c("x", "y", "B1","B2","B3","B4")
library(sp)library(gstat)coordinates(A) =
~x+yC<-variogram(B1~x+y+x*y+x*x+y
>
and width for omnidirectional and directional semivariogram > > (especially in
45 and 135 directions)?? as the lag in 0 and 90 > > directions is 12 where as
in 45 and 135 is 16.97m.> > Though my question seems very basic, hope you find
sometime to answer them> > Thanking you> > Pujan> >> >
-
hz.ch
> Subject: Re: [R-sig-Geo] variogram using gstat
>
> PUJAN RAJ REGMI wrote:
> >
> > Dear sir,
> > Ya, Now I am comparing the results from gslib and R/gsat. The shape of
> > variograms exactly overlaps but the position of points varies, I don
Dear sir,
Ya, Now I am comparing the results from gslib and R/gsat. The shape of
variograms exactly overlaps but the position of points varies, I don't know
why? or it is normal! I first checked the result of omnidirectional variogram
but still to have checked for directional cases. I hope the
Dear Thierry,
Thank you very much. Ya it worked after waiting for so long time. But i am bit
confused with the result! as my data set have 12m interval
both x and y direction but the result confused me. Please have a look at:
A<-read.table(file.choose(new=FALSE), sep = "",skip=8,header=FALSE)
n
Dear list,
I am trying to plot semivariogram suing gstat packages. But as soon as i run
the command variogram the programs hangs!! I don't know what happened! Actually
in my data set i have many rows (96000). My data has 5 columns out of these
first 2 are x and y coordinates and the rest 3 are t
le
> Bar> > On Fri, 2 May 2008, PUJAN RAJ REGMI wrote:> > >> >> > Dear sir,> > My
> data has been acquired from ENVI 4.0 and it has the following information
> regarding pixel size and projection system:> > samples = 596lines = 440bands
>
n.
This is my source of error.
Thanking you in advance
Pujan
> Date: Fri, 2 May 2008 19:49:07 +0200> From: [EMAIL PROTECTED]> To: [EMAIL
> PROTECTED]> CC: r-sig-geo@stat.math.ethz.ch> Subject: RE: [R-sig-Geo] Scale
> Bar> > On Fri, 2 May 2008, PUJAN RAJ REGMI wrote:&
; To: [EMAIL
> PROTECTED]> CC: r-sig-geo@stat.math.ethz.ch> Subject: Re: [R-sig-Geo] Scale
> Bar> > On Thu, 1 May 2008, PUJAN RAJ REGMI wrote:> > > Dear,> > > I followed
> the instruction given by Roger. But i got the following error > > mess
Dear,
I followed the instruction given by Roger. But i got the following error
message;
coordinates(A) <- c("x", "y")> gridded(A) <- TRUE>
greenchannel<-matrix(A[,3],nrow=155,ncol=191,byrow=TRUE)Error in as.vector(x,
mode) : cannot coerce to
vectorredchannel<-matrix(A[,4],nrow=155,ncol=191,byro
Dear List,
I would be thankful if anybody give me an way-out that How should can i add
scale bar in the RGB color image.
Actually i want to use this image for other purpose where i should mention the
scale of the image.
Thanking you in advance
Pujan
___
Dear all,
I am trying to plot semivariogram for my data set consisting of 1373 values. As
I plotted semivariogram, trend was seen. Then I decided to remove the trend so
I tried to find the trend's coefficients for Linear, quadratic and cubic using
geoR package. Fortunately its worked thanks to a
Dear all,
I think earlier i didn't clear myself. I ahve a data set of 3 colun and 14000
rows in which first and second column is X and Y coordinates and the third
column is the value of samples of each coordinates points. Now I am trying to
plot semi variogram for the given sample with respect
Dear all,
I think earlier i didn't clear myself. Now i am sending my data file and the
code. My data set is attached with the mail where first and second column is X
and Y coordinates and the column is the value of samples. I hope this time i
am able to communicate.
Thanking you
Pujan
Cod
Thank you very much for response.
Here i have attached the my code below . Pls have a look and suggest me the
solution.
Thanking you in advance
Yours
Pujan
mol.gr <- read.table(“D:/Pujan_IUPWARE/Second_Year/Thesis/mol.dat”)
mol.gr[,"x"] <-mol.gr[,1]
mol.gr[,"y"] <-mol.gr[,2]
mol.gr[,"Green Ban
Dear all,
I am trying to plot semivarigram using the function "variog" but i am getting
following error message "cannot allocate vector of size 757.6 Mb" I suppose my
data set seems large?? it has 14090 samples. I will be thankful if anybody
suggest me the alternative ways to overcome the probl
s fairly simple and matches with what you already tried).> > Hope this
> helps,> > -- > Gregory (Greg) L. Snow Ph.D.> Statistical Data Center>
> Intermountain Healthcare> [EMAIL PROTECTED]> (801) 408-8111> > > > >
> -Original Message-> &g
Thanks a lot it gives me a wayout but I still want favour from you. Could you
please explain how can i prepared three mat file required for the following
code?
imagematrix(mat, type=NULL, ncol=dim(mat)[1], nrow=dim(mat)[2],
noclipping=FALSE)
I have three R files named as Redchannel, Greenchann
Dear Madam/ Sir
I am New user of R. I am looking for the way to plot true color image from
matrix data of of order (m,n,3) as in MAT LAB where 3 represent the three
column matrix where red, green and blue values of pixels are stored. I hope
you understand my question. Looking for your help for
31 matches
Mail list logo