Giter VIP home page Giter VIP logo

spatialpack's Introduction

Tools for assessment the association between two spatial processes

CRAN status CRAN RStudio mirror downloads

Tools to assess the association between two spatial processes. Currently, several methodologies are implemented: A modified t-test to perform hypothesis testing about the independence between the processes, a suitable nonparametric correlation coefficient, the codispersion coefficient, and an F test for assessing the multiple correlation between one spatial process and several others. Functions for image processing and computing the spatial association between images are also provided. SpatialPack gives methods to complement methodologies that are available in geoR for one spatial process.

Authors: Felipe Osorio and Ronny Vallejos with contributions of Francisco Cuevas and Diego Mancilla.

Project webpage: http://spatialpack.mat.utfsm.cl

Lastest binaries and sources for SpatialPack are availables from CRAN at: https://cran.r-project.org/package=SpatialPack

spatialpack's People

Contributors

faosorios avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

spatialpack's Issues

Error in storage.mode(y) in UAV SAR backprojection image

Hi Everyone,

I have an UAV SAR backprojection image sample and I'd like to reduces the speckle noise using the denoise but doesn't work for me.

I try to do:

#Packages
library(raster)
library(datawizard)
library(SpatialPack)

# Open UAV SAR imagery small sample
UAV_SAR_BandC <- raster("https:/github.com/Leprechault/trash/raw/main/BandC_sample.tif")
UAV_SAR_BandC
# class      : RasterLayer 
# dimensions : 257, 337, 86609  (nrow, ncol, ncell)
# resolution : 0.2, 0.1999516  (x, y)
# extent     : 521061.4, 521128.8, 7320125, 7320176  (xmin, xmax, ymin, ymax)
# crs        : +proj=utm +zone=22 +south +datum=WGS84 +units=m +no_defs 
# source     : BandC_sample.tif 
# names      : BandC_sample 

# Rescale UAV SAR imagery to 0-255 using datawizard package
BandC  <- datawizard::rescale(values(UAV_SAR_BandC),to = c(0, 255))
values(UAV_SAR_BandC) = as.vector(BandC)
summary(UAV_SAR_BandC)
#         BandC_sample
# Min.        0.000000
# 1st Qu.     3.643145
# Median      8.204007
# 3rd Qu.    16.996258
# Max.      255.000000
# NA's        0.000000

# Denoise speckle UAV SAR imagery
UAV_SAR_BandC_filter <- denoise(UAV_SAR_BandC, type = "Lee", looks = 1, damping = 1)
# Error in storage.mode(y) <- "double" : 
#   no method for coercing this S4 class to a vector

Please, any help with this error?

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.