Description Usage Format Source Examples
A dataset containing the Intensity and Saturation values of a picture from Mars taken from Rover Curiosity.
1 |
A list containing information about pixels of a picture form mars mainly containing red sand and metal form Rover itself. List include
SI_matrix: A matrix with 5063 rows and 128 columns. Elements 1 to 64 of each row indicate the Saturation values of pixels in a square cell 8 x 8 whereas elements 65 to 128 of each row indicate the cell's Intensity values.
geographic_matrix: An integer matrix of dimension 5063 x 2, each row indicates each square cell's locations (x-axis y-axis) at the picture.
screw_index: the index corresponding to the screw observation (screw_index=4180)
https://www.nasa.gov/mission_pages/msl/multimedia/pia16225.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # upload matrix
A <- mars_screw$SI_matrix;
B <- mars_screw$geographic_matrix
screw_index <- mars_screw$screw_index
## looking for the brightest cells
maximun_at_each_cell<- apply(A[ ,1:64], 1, max)
ten_brightest_cells <-order(maximun_at_each_cell, decreasing=TRUE)[1:10]
## plot locations where the ten brightest cells are.
plot(B, pch=19 )
points(B[ten_brightest_cells, ], pch=19,col="yellow" )
## plot locations where the screw are.
points(B[screw_index, ], pch=19,col="blue" )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.