pix2vec

Vector Representation of Hyperspectral Planetary Remote Sensing Data

https://github.com/afrigeri/pix2vec

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary

Keywords

command-line remote-sensing research science
Last synced: 4 months ago · JSON representation ·

Repository

Vector Representation of Hyperspectral Planetary Remote Sensing Data

Basic Info
  • Host: GitHub
  • Owner: afrigeri
  • License: other
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 2.76 MB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
command-line remote-sensing research science
Created over 2 years ago · Last pushed over 2 years ago
Metadata Files
Readme Changelog Contributing License Citation Authors Zenodo

README.rst

===============
pix2vec
===============
*Geospatial Vector Representation of Planetary Remote Sensing Hyperspectral Data*

---------------------------------


.. image:: https://img.shields.io/pypi/v/pix2vec.svg
        :target: https://pypi.python.org/pypi/pix2vec

.. image:: https://readthedocs.org/projects/pix2vec/badge/?version=latest
        :target: https://pix2vec.readthedocs.io/en/latest/?version=latest
        :alt: Documentation Status

.. image:: https://zenodo.org/badge/656602618.svg
   :target: https://zenodo.org/badge/latestdoi/656602618

pix2vec: Vector Representation of Planetary Hyperspectral Data Cubes


* Free software: GNU General Public License v3
* Documentation: https://pix2vec.readthedocs.io.


Features
--------

* Produces a vector representation of the raster representation of HSI data 'cubes' generated by ISIS

Requirements
------------

* a relatively recent `Integrated Software for Imagers and Spectrometers (ISIS) `_ installation and the `kalasiris `_ module (which will be installed automatically).
 
Cite in your work
-------------------

Frigeri, A. and Hare, T. 2023. Geospatial Vector Representation of 
Planetary Mapping Spectrometer Data. 6th Planetay Data Workshop, Flagstaff, Arizona 26-28th June 2023, Abstract #7088.::

 @INPROCEEDINGS{FrigeriHare2023,
       author = {{Frigeri}, A. and {Hare}, T.},
        title = "{Geospatial Vector Representation of Planetary Mapping Spectrometer Data}",
    booktitle = {6th Planetay Data Workshop},
         year = 2023,
       series = {LPI},
        month = jun,
          eid = {7088},
        pages = {7088}
 }


installation
------------

within a working ISIS environment, run::

    pip install pix2vect



pix2vec in brief
-----------------

`pix2vect` requires spice-initialized ISIS cubes (see `spiceinit`).  

Let's start with an hyperspectral cube from the The Moon Mineralogy Mapper (M3), the NASA spectrometer onboard  Chandrayaan-1 mission to the Moon::

    (ISIS) $ pix2vec -i -c M3G20090103T084105_V03_L1B.cub 
    pix2vect - 2023 Alessandro Frigeri - Istituto Nazionale di Astrofisica
    Cube Type:M3 samples:304 lines:11739 file:M3G20090103T084105_V03_L1B.cub

now we create a vector GIS file representing the geometry of the sensor's pixel on the lunar surface::

    pix2vec -c M3G20090103T084105_V03_L1B.cub -s 1,150 -l 3050,3200 -o M3G20090103T084105_V03_L1B_subset.gpkg 

the vector file can then be loaded in your favorite GIS, and we can plot the file with a `PixelValue` greyscale:

.. image:: https://github.com/afrigeri/pix2vec/raw/main/docs/images/m3-PixelValue.png
        :alt: M3-PixelValue
        :width: 600

each ground pixel element holds information that can be accessed:

.. image:: https://github.com/afrigeri/pix2vec/raw/main/docs/images/m3-detail.png
        :alt: M3-subcube
        :width: 600

for each ground-projected pixel, you now have access to these fields::

	Filename Sample Line PixelValue RightAscension Declination 
	PlanetocentricLatitude PlanetographicLatitude PositiveEast360Longitude 
	PositiveEast180Longitude PositiveWest360Longitude PositiveWest180Longitude 
	BodyFixedCoordinateX BodyFixedCoordinateY BodyFixedCoordinateZ LocalRadius 
	SampleResolution LineResolution SpacecraftPositionX SpacecraftPositionY 
	SpacecraftPositionZ SpacecraftAzimuth SlantDistance TargetCenterDistance 
	SubSpacecraftLatitude SubSpacecraftLongitude SpacecraftAltitude OffNadirAngle 
	SubSpacecraftGroundAzimuth SunPositionX SunPositionY SunPositionZ 
	SubSolarAzimuth SolarDistance SubSolarLatitude SubSolarLongitude 
	SubSolarGroundAzimuth Phase Incidence Emission NorthAzimuth EphemerisTime UTC 
	LocalSolarTime SolarLongitude LookDirectionBodyFixedX LookDirectionBodyFixedY 
	LookDirectionBodyFixedZ LookDirectionJ2000X LookDirectionJ2000Y 
	LookDirectionJ2000Z LookDirectionCameraX LookDirectionCameraY 
	LookDirectionCameraZ ObliqueDetectorResolution ObliquePixelResolution 
	ObliqueLineResolution ObliqueSampleResolution Error


Documentation
-------------

Documentation is available at https://pix2vec.readthedocs.io

Owner

  • Name: Alessandro Frigeri
  • Login: afrigeri
  • Kind: user
  • Location: Rome, Italy
  • Company: Institute for Space Astrophysics and Planetology - IAPS/INAF

I'm a researcher, in and out of office

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Frigeri
    given-names: Alessandro
    orcid: https://orcid.org/0000-0002-9140-3977
title: "afrigeri/pix2vec: First public release!"
version: v0.1.2
date-released: 2023-07-07

GitHub Events

Total
Last Year

Committers

Last synced: almost 2 years ago

All Time
  • Total Commits: 69
  • Total Committers: 1
  • Avg Commits per committer: 69.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 69
  • Committers: 1
  • Avg Commits per committer: 69.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Alessandro Frigeri a****i@i****t 69
Committer Domains (Top 20 + Academic)
inaf.it: 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 22 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 6
  • Total maintainers: 1
pypi.org: pix2vec

pix2vec produces a vector representation of planetary mapping spectrometers hyperspectral and camera ISIS data cube

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 22 Last month
Rankings
Dependent packages count: 7.3%
Average: 29.6%
Forks count: 30.4%
Stargazers count: 39.3%
Dependent repos count: 41.5%
Maintainers (1)
Last synced: 5 months ago

Dependencies

requirements.txt pypi
  • gdal *
  • kalasiris *
  • sphinx_rtd_theme *
requirements_dev.txt pypi
  • Sphinx ==1.8.5 development
  • bump2version ==0.5.11 development
  • coverage ==4.5.4 development
  • flake8 ==3.7.8 development
  • gdal * development
  • kalasiris * development
  • pip ==19.2.3 development
  • sphinx_rtd_theme * development
  • tox ==3.14.0 development
  • twine ==1.14.0 development
  • watchdog ==0.9.0 development
  • wheel ==0.33.6 development
setup.py pypi