去除了掩膜版命令
parent
6806dab538
commit
39e4e93f60
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,281 @@
|
|||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "7d7ec9b3-a8f6-4e85-a472-8d5552c53eed",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"数据处理笔记与记录"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"id": "21bdcaa3-3761-4c92-be8f-e51fc2d99df8",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from matplotlib import pyplot as plt\n",
|
||||
"import os\n",
|
||||
"import numpy as np\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "8834938f-8857-45f2-9ab2-739fdc081fef",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# 常用文件变量\n",
|
||||
"1. 参数项\n",
|
||||
"```\n",
|
||||
"-id D:\\codestorage\\testpolsarpro50\\prosarpro_sufarce_oh2004\\testpolsarpro50\\testpolsarpro50\\testpolsarpro50\\TestData\\TempData\\lee_filter -od D:\\codestorage\\testpolsarpro50\\prosarpro_sufarce_oh2004\\testpolsarpro50\\testpolsarpro50\\testpolsarpro50\\TestData\\TempData\\out_result -iodf T3 -ang D:\\codestorage\\testpolsarpro50\\prosarpro_sufarce_oh2004\\testpolsarpro50\\testpolsarpro50\\testpolsarpro50\\TestData\\TempData\\incidence.dat -ofr 0 -ofc 0 -fnr 8064 -fnc 7086 -fr 5.3 -un 0 -th1 100.0 -th2 700.0\n",
|
||||
"```\n",
|
||||
"2. 程序所在地址\n",
|
||||
"```\n",
|
||||
"D:\\codestorage\\testpolsarpro50\\prosarpro_sufarce_oh2004\\testpolsarpro50\\testpolsarpro50\\x64\\Release\n",
|
||||
"```\n",
|
||||
"3. 数据工作空间\n",
|
||||
"```\n",
|
||||
"D:\\codestorage\\testpolsarpro50\\prosarpro_sufarce_oh2004\\testpolsarpro50\\testpolsarpro50\\testpolsarpro50\\TestData\n",
|
||||
"```\n",
|
||||
"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"id": "7064c90e-143e-4e8f-88a0-18bdb6a7e27f",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"T3_folder=r\"D:\\codestorage\\testpolsarpro50\\prosarpro_sufarce_oh2004\\testpolsarpro50\\testpolsarpro50\\testpolsarpro50\\TestData\\TempData\\lee_filter\"\n",
|
||||
"inc_folder=r\"D:\\codestorage\\testpolsarpro50\\prosarpro_sufarce_oh2004\\testpolsarpro50\\testpolsarpro50\\testpolsarpro50\\TestData\\TempData\\incidence.dat\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"id": "824ac42f-8d7a-43a9-b9c5-69f0208faa2f",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
" 驱动器 D 中的卷是 新加卷\n",
|
||||
" 卷的序列号是 D0A2-A693\n",
|
||||
"\n",
|
||||
" D:\\codestorage\\testpolsarpro50\\prosarpro_sufarce_oh2004\\testpolsarpro50\\testpolsarpro50\\testpolsarpro50\\TestData\\TempData\\lee_filter 的目录\n",
|
||||
"\n",
|
||||
"2024/02/07 03:49 <DIR> .\n",
|
||||
"2024/02/07 03:49 <DIR> ..\n",
|
||||
"2024/01/24 17:36 97 config.txt\n",
|
||||
"2024/01/24 17:39 228,566,016 T11.bin\n",
|
||||
"2024/02/07 03:49 76,106,970 T11.bin.enp\n",
|
||||
"2024/02/07 03:49 243 T11.hdr\n",
|
||||
"2024/01/24 17:39 228,566,016 T12_imag.bin\n",
|
||||
"2024/01/24 17:39 228,566,016 T12_real.bin\n",
|
||||
"2024/01/24 17:39 228,566,016 T13_imag.bin\n",
|
||||
"2024/01/24 17:39 228,566,016 T13_real.bin\n",
|
||||
"2024/01/24 17:39 228,566,016 T22.bin\n",
|
||||
"2024/01/24 17:39 228,566,016 T23_imag.bin\n",
|
||||
"2024/01/24 17:39 228,566,016 T23_real.bin\n",
|
||||
"2024/01/24 17:39 228,566,016 T33.bin\n",
|
||||
" 12 个文件 2,133,201,454 字节\n",
|
||||
" 2 个目录 471,848,288,256 可用字节\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"!dir D:\\codestorage\\testpolsarpro50\\prosarpro_sufarce_oh2004\\testpolsarpro50\\testpolsarpro50\\testpolsarpro50\\TestData\\TempData\\lee_filter"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "ea19f925-cbcf-463b-83d6-3f2627d2c780",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# 展示原始数据数据 T3、入射角数据\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 32,
|
||||
"id": "258bc4f2-3bc2-4195-83ac-7619418d21de",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"T11=np.fromfile(os.path.join(T3_folder,\"T11.bin\"),dtype=np.float32)\n",
|
||||
"T12=np.fromfile(os.path.join(T3_folder,\"T12_real.bin\"),dtype=np.float32)+np.fromfile(os.path.join(T3_folder,\"T12_imag.bin\"),dtype=np.float32)*1j\n",
|
||||
"T13=np.fromfile(os.path.join(T3_folder,\"T13_real.bin\"),dtype=np.float32)+np.fromfile(os.path.join(T3_folder,\"T13_imag.bin\"),dtype=np.float32)*1j\n",
|
||||
"T22=np.fromfile(os.path.join(T3_folder,\"T22.bin\"),dtype=np.float32) \n",
|
||||
"T23=np.fromfile(os.path.join(T3_folder,\"T23_real.bin\"),dtype=np.float32)+np.fromfile(os.path.join(T3_folder,\"T23_imag.bin\"),dtype=np.float32)*1j\n",
|
||||
"T33=np.fromfile(os.path.join(T3_folder,\"T33.bin\"),dtype=np.float32)\n",
|
||||
"incidenceData=np.fromfile(r\"D:\\codestorage\\testpolsarpro50\\prosarpro_sufarce_oh2004\\testpolsarpro50\\testpolsarpro50\\testpolsarpro50\\TestData\\TempData\\incidence.dat\",dtype=np.float32)\n",
|
||||
"# 数据格式重整化\n",
|
||||
"T11=T11.reshape(8064,7086)\n",
|
||||
"T12=T12.reshape(8064,7086)\n",
|
||||
"T13=T13.reshape(8064,7086)\n",
|
||||
"T22=T22.reshape(8064,7086)\n",
|
||||
"T23=T23.reshape(8064,7086)\n",
|
||||
"T33=T33.reshape(8064,7086)\n",
|
||||
"incidenceData=incidenceData.reshape(8781,10520)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "f95a7843-3fd8-480a-aa4c-a36950607821",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "8f72330a-2a6f-453b-8aad-18b4a59cd0cf",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"print(\"T11\")\n",
|
||||
"plt.matshow(T11,cmap=\"gist_rainbow\" ,vmin=0, vmax=1)\n",
|
||||
"plt.colorbar(cmap=\"gist_rainbow\")\n",
|
||||
"plt.show()\n",
|
||||
"print(\"T12 amp\")\n",
|
||||
"plt.matshow(np.abs(T12),cmap=\"gist_rainbow\" ,vmin=0, vmax=1)\n",
|
||||
"plt.colorbar(cmap=\"gist_rainbow\")\n",
|
||||
"plt.show()\n",
|
||||
"print(\"T13 amp\")\n",
|
||||
"plt.matshow(np.abs(T13),cmap=\"gist_rainbow\" ,vmin=0, vmax=1)\n",
|
||||
"plt.colorbar(cmap=\"gist_rainbow\")\n",
|
||||
"plt.show()\n",
|
||||
"print(\"T12 pha\")\n",
|
||||
"plt.matshow(np.angle(T12),cmap=\"gist_rainbow\")\n",
|
||||
"plt.colorbar(cmap=\"gist_rainbow\")\n",
|
||||
"plt.show()\n",
|
||||
"print(\"T13 pha\")\n",
|
||||
"plt.matshow(np.angle(T13),cmap=\"gist_rainbow\")\n",
|
||||
"plt.colorbar(cmap=\"gist_rainbow\")\n",
|
||||
"plt.show()\n",
|
||||
"print(\"T22\")\n",
|
||||
"plt.matshow(T22,cmap=\"gist_rainbow\" ,vmin=0, vmax=1)\n",
|
||||
"plt.colorbar(cmap=\"gist_rainbow\")\n",
|
||||
"plt.show()\n",
|
||||
"print(\"T23 amp \")\n",
|
||||
"plt.matshow(np.abs(T23),cmap=\"gist_rainbow\" ,vmin=0, vmax=1)\n",
|
||||
"plt.colorbar(cmap=\"gist_rainbow\")\n",
|
||||
"plt.show()\n",
|
||||
"print(\"T23 pha \")\n",
|
||||
"plt.matshow(np.angle(T23),cmap=\"gist_rainbow\")\n",
|
||||
"plt.colorbar(cmap=\"gist_rainbow\")\n",
|
||||
"plt.show()\n",
|
||||
"print(\"T33\")\n",
|
||||
"plt.matshow(T11,cmap=\"gist_rainbow\" ,vmin=0, vmax=1)\n",
|
||||
"plt.colorbar(cmap=\"gist_rainbow\")\n",
|
||||
"plt.show()\n",
|
||||
"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "99f573d2-5716-43ab-9dfc-0a79c056ef87",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "83c217d4-55b2-4e4a-95cf-814c98db113b",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "1fd36d09-f3c2-493a-8e2f-46c47f9786f3",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "12ef75ae-cdca-4791-b3e8-352a41375b43",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "d7c9af73-b57e-44eb-a362-eceb74beb126",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "433ff571-113b-42c1-b50d-92398ca64d38",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "a0fca093-b2ae-48ee-9d8e-f8d4c037db07",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "c5c4605b-0510-4999-9f33-268f311727f9",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "fdb6324f-8afa-4590-ab86-473f48fdc666",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "4a85daac-8298-48c6-ad2c-e541d9750401",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.8.18"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
// lee_filter_T3.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
|
||||
//
|
||||
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << "Hello World!\n";
|
||||
}
|
||||
|
||||
// 运行程序: Ctrl + F5 或调试 >“开始执行(不调试)”菜单
|
||||
// 调试程序: F5 或调试 >“开始调试”菜单
|
||||
|
||||
// 入门使用技巧:
|
||||
// 1. 使用解决方案资源管理器窗口添加/管理文件
|
||||
// 2. 使用团队资源管理器窗口连接到源代码管理
|
||||
// 3. 使用输出窗口查看生成输出和其他消息
|
||||
// 4. 使用错误列表窗口查看错误
|
||||
// 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
|
||||
// 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件
|
|
@ -0,0 +1,135 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>17.0</VCProjectVersion>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ProjectGuid>{31da70b3-a26b-438a-899c-03340c48f690}</ProjectGuid>
|
||||
<RootNamespace>leefilterT3</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="lee_filter_T3.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="源文件">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="头文件">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="资源文件">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="lee_filter_T3.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
</Project>
|
|
@ -465,12 +465,14 @@ void oh2004(float** valid, float** theta, int Nlig, int Ncol, float** Shhhh, flo
|
|||
for (ii = 0; ii < Nlig; ii++) {
|
||||
PrintfLine(ii, Nlig);
|
||||
for (jj = 0; jj < Ncol; jj++) {
|
||||
if (valid[ii][jj] == 1.) {
|
||||
|
||||
//if (valid[ii][jj] == 1.) {
|
||||
if (1. == 1.) {
|
||||
f = Freq * 1e9;
|
||||
p_max = 1 - exp(0.35 * log(theta[ii][jj] / (pi / 2)) * pow(thres1, -0.65)) * exp(-0.4 * pow((2 * pi / (3e8 / f) * thres2), 1.4));
|
||||
|
||||
if ((Shhhh[ii][jj] / Svvvv[ii][jj]) < p_max) {
|
||||
//if ((Shhhh[ii][jj] / Svvvv[ii][jj]) < p_max)
|
||||
if(1==1)
|
||||
{
|
||||
msk_valid[ii][jj] = 1;
|
||||
|
||||
/* Computation of moisture content 1 */
|
||||
|
@ -554,6 +556,11 @@ void oh2004(float** valid, float** theta, int Nlig, int Ncol, float** Shhhh, flo
|
|||
if (mv_inv3[ii][jj] == 0) c = 0;
|
||||
else c = 1;
|
||||
|
||||
a = 1;
|
||||
b = 1;
|
||||
c = 1;
|
||||
|
||||
|
||||
if ((a == 0) && (b == 0) && (c == 0)) mv_inv = 0;
|
||||
else mv_inv = (a * mv_inv1[ii][jj] + b * mv_inv2[ii][jj] + c * mv_inv3[ii][jj]) / (a + b + c);
|
||||
|
||||
|
@ -563,6 +570,9 @@ void oh2004(float** valid, float** theta, int Nlig, int Ncol, float** Shhhh, flo
|
|||
if (ks_inv2[ii][jj] == 0) n = 0;
|
||||
else n = 1;
|
||||
|
||||
m = 1;
|
||||
n = 1;
|
||||
|
||||
if ((m == 0) && (n == 0)) ks_inv = 0;
|
||||
else ks_inv = (m * ks_inv1[ii][jj] + 0.25 * n * ks_inv2[ii][jj]) / (m + 0.25 * n);
|
||||
|
||||
|
@ -571,8 +581,11 @@ void oh2004(float** valid, float** theta, int Nlig, int Ncol, float** Shhhh, flo
|
|||
|
||||
if (ks_inv >= 3.5 || ks_inv <= 0) msk_ks = 0;
|
||||
else msk_ks = 1;
|
||||
/* msk_mv = 1;
|
||||
msk_ks = 1;*/
|
||||
|
||||
msk_out[ii][jj] = msk_mv * msk_ks;
|
||||
|
||||
msk_out[ii][jj] = 1;// msk_mv* msk_ks;
|
||||
mv_oh[ii][jj] = mv_inv * msk_out[ii][jj] * 100.;
|
||||
s_oh[ii][jj] = ks_inv * msk_out[ii][jj] / (2 * pi / (3e8 / f)) * 100.;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LocalDebuggerCommandArguments>-id E:\data\kongtianyuan\TempData\lee_filter\ -od E:\data\kongtianyuan\0h2004\ -iodf T3 -ang E:\data\kongtianyuan\TempData\incidence.dat -ofr 0 -ofc 0 -fnr 8064 -fnc 7086 -fr 5.400011852225445 -un 0 -th1 1.0 -th2 7.0</LocalDebuggerCommandArguments>
|
||||
<LocalDebuggerCommandArguments>-id D:\codestorage\testpolsarpro50\prosarpro_sufarce_oh2004\testpolsarpro50\testpolsarpro50\testpolsarpro50\TestData\TempData\lee_filter -od D:\codestorage\testpolsarpro50\prosarpro_sufarce_oh2004\testpolsarpro50\testpolsarpro50\testpolsarpro50\TestData\TempData\out_result -iodf T3 -ang D:\codestorage\testpolsarpro50\prosarpro_sufarce_oh2004\testpolsarpro50\testpolsarpro50\testpolsarpro50\TestData\TempData\incidence.dat -ofr 0 -ofc 0 -fnr 8064 -fnc 7086 -fr 5.3 -un 0 -th1 100.0 -th2 700.0</LocalDebuggerCommandArguments>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<Project>
|
||||
<ProjectOutputs>
|
||||
<ProjectOutput>
|
||||
<FullPath>D:\codestorage\testpolsarpro50\testpolsarpro50\testpolsarpro50\x64\Release\surface_inversion_oh2004.exe</FullPath>
|
||||
<FullPath>D:\codestorage\testpolsarpro50\prosarpro_sufarce_oh2004\testpolsarpro50\testpolsarpro50\x64\Release\surface_inversion_oh2004.exe</FullPath>
|
||||
</ProjectOutput>
|
||||
</ProjectOutputs>
|
||||
<ContentFiles />
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,17 @@
|
|||
surface_inversion_oh2004.exe -id D:\codestorage\testpolsarpro50\prosarpro_sufarce_oh2004\testpolsarpro50\testpolsarpro50\testpolsarpro50\TestData\TempData\lee_filter -od D:\codestorage\testpolsarpro50\prosarpro_sufarce_oh2004\testpolsarpro50\testpolsarpro50\testpolsarpro50\TestData\TempData\out_result -iodf T3 -ang D:\codestorage\testpolsarpro50\prosarpro_sufarce_oh2004\testpolsarpro50\testpolsarpro50\testpolsarpro50\TestData\TempData\incidence.dat -ofr 0 -ofc 0 -fnr 8064 -fnc 7086 -fr 5.3 -un 0 -th1 1 -th2 7
|
||||
|
||||
|
||||
|
||||
|
||||
(string) -id input directory
|
||||
(string) -od output directory
|
||||
(string) -iodf input-output data format
|
||||
(string) -ang incidence angle file
|
||||
(int) -ofr Offset Row
|
||||
(int) -ofc Offset Col
|
||||
(int) -fnr Final Number of Row
|
||||
(int) -fnc Final Number of Col
|
||||
(float) -fr Central Frequency (GHz)
|
||||
(int) -un Angle Unit (0: deg, 1: rad)
|
||||
(float) -th1 Threshold - mv
|
||||
(float) -th2 Threshold - s
|
Loading…
Reference in New Issue