Skip to content

Tiff version of various training images used in the literature. Useful for using example codes.

Notifications You must be signed in to change notification settings

GAIA-UNIL/TrainingImagesTIFF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrainingImagesTIFF

Tiff version of various training images used in the literature. Useful for direct use in example codes. Image converted from this repository

To load training images in Matlab

ti=imread('https://raw.githubusercontent.com/GAIA-UNIL/TrainingImagesTIFF/master/{fileName.tiff}')

Replacing {fileName.tiff} with the file of interest.

To load training images in Python3

import numpy
from PIL import Image
import requests
from io import BytesIO

ti = numpy.array(Image.open(BytesIO(requests.get('https://raw.githubusercontent.com/GAIA-UNIL/TrainingImagesTIFF/master/{fileName.tiff}').content)))

#This might not work for 'Damier3D','L7_CHplateau' and 'zinn', instead try
#import tifffile
#ti = tifffile.imread(BytesIO(requests.get('https://raw.githubusercontent.com/GAIA-UNIL/TrainingImagesTIFF/master/{fileName.tiff}').content));;

Replacing {fileName.tiff} with the file of interest.

About

Tiff version of various training images used in the literature. Useful for using example codes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published