小编Pyt*_*ner的帖子

如何找到图像的位深度

I am trying to get the Statistics of image like width, height, bands, min, max, mean, stddev etc., I could find all of these but however i can't find the Bit Depth of an image. i could not find any function , is there a way for this ?

image image-processing python-2.7

2
推荐指数
1
解决办法
1万
查看次数

如何从EXCEL中的文件路径中提取年份?

我有这样的文件路径,我想从中提取年份:

\\Main\Folder\Folder1\Folder2\123456\ABC\V.1\SubFolder\1950\file.ext
\\Main\Folder\Folder1\Folder2\123456\BCD\V.1\SubFolder1\1987\file1.ext
\\Main\Folder\Folder1\Folder2\123456\ABC\V.1\SubFolder\1987_dup\file1.ext
\\Main\Folder\Folder1\Folder2\123456\CDA\V.1\SubFolder1\1950\file.ext
\\Main\Folder\Folder1\Folder2\123456\ABC\V.1\SubFolder\1997\file1.ext
\\Main\Folder\Folder1\Folder2\123456\XYZ\V.1\SubFolder3\1997_dup\file1.ext
...
Run Code Online (Sandbox Code Playgroud)

观察我要提取的年份是路径中10"\"之后的前4个字符.感谢任何帮助,谢谢!

excel excel-formula

0
推荐指数
1
解决办法
71
查看次数