hyperspectral spectrum add a plot

조회 수: 3 (최근 30일)
Alexai
Alexai 2022년 9월 17일
답변: Rijuta 2023년 2월 23일
Can you tell me how to make a code that displays reflectance and wavelength like attachments when clicking on a specific area with the mouse like hyperspectral viewer?

답변 (1개)

Rijuta
Rijuta 2023년 2월 23일
Hi Alexai,
Kindly follow the following steps mentioned below to create a code in MATLAB that displays reflectance and wavelength when clicking on a specific area with the mouse:
  1. Load the hyperspectral data into MATLAB
  2. Create a pot of the data
  3. Add an event listener for mouse clicks
  4. Get the x and y coordinates of the clicked point
  5. Get the values for wavelength and reflectance and display them
For more information on hyperspectral data, refer to the documentation.

카테고리

Help CenterFile Exchange에서 Hyperspectral Image Processing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by