TransWikia.com

Interactively extracting arbitrary portion of elements from a 2D list

Mathematica Asked by wkong on February 28, 2021

I have a 2D list which can be plotted as follows:

Image 1

enter image description here

Based on the plotted image, I would like to select some of the shapes on the image and extract the data for further analysis, for example,

Image 2:

enter image description here

Is there any interactive tool or function in Mathematica which can serve the purpose?

A sample data can be downloaded here:
https://drive.google.com/file/d/1aY5Iq1eqhRuzJ2sQ7dtPZ3b5KONwhm58/view?usp=sharing

Many thanks in advance.

One Answer

Is there any interactive tool or function in Mathematica which can serve the purpose?

If you click the image (within Mathematica), a toolbar will appear below. You can select a part of the image and create the corresponding mask using the "mask tool".

enter image description here

Answered by Szabolcs on February 28, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP