影像像素值三维点云分布

%matplotlib inline

import os

def get_fileNames(rootdir):

    fs = []

    for root, dirs, files in os.walk(rootdir,topdown = True):

        for name in files:

            _, ending = os.path.splitext(name)

            if ending == '.tif':

                fs.append(os.path.join(root,name))

    return fs

dom_path  = 'C:/files1/paper_writing/Journal1/data/test1/'

dom_path_list = get_fileNames(dom_path)

你可能感兴趣的:(影像像素值三维点云分布)