测量轴径像素点代码,轴径图片

main
liumengying 1 year ago
parent 37411033b9
commit fdda47042e

@ -0,0 +1,52 @@
{
"Version": 1,
"WorkspaceRootPath": "E:\\c\u002B\u002B\\test_blank_point\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{0467BAD5-138D-48B2-AF78-2C600E82CD3B}|test_blank_point\\test_blank_point.vcxproj|E:\\c\u002B\u002B\\test_blank_point\\test_blank_point\\test_blank_point.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
"RelativeMoniker": "D:0:0:{0467BAD5-138D-48B2-AF78-2C600E82CD3B}|test_blank_point\\test_blank_point.vcxproj|solutionrelative:test_blank_point\\test_blank_point.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
},
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|E:\\opencv\\opencv\\build\\include\\opencv2\\core\\base.hpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 1,
"Children": [
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "base.hpp",
"DocumentMoniker": "E:\\opencv\\opencv\\build\\include\\opencv2\\core\\base.hpp",
"RelativeDocumentMoniker": "..\\..\\opencv\\opencv\\build\\include\\opencv2\\core\\base.hpp",
"ToolTip": "E:\\opencv\\opencv\\build\\include\\opencv2\\core\\base.hpp",
"RelativeToolTip": "..\\..\\opencv\\opencv\\build\\include\\opencv2\\core\\base.hpp",
"ViewState": "AQIAABQBAAAAAAAAAAASwD0BAAAAAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|",
"WhenOpened": "2024-04-18T01:26:12.482Z"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "test_blank_point.cpp",
"DocumentMoniker": "E:\\c\u002B\u002B\\test_blank_point\\test_blank_point\\test_blank_point.cpp",
"RelativeDocumentMoniker": "test_blank_point\\test_blank_point.cpp",
"ToolTip": "E:\\c\u002B\u002B\\test_blank_point\\test_blank_point\\test_blank_point.cpp",
"RelativeToolTip": "test_blank_point\\test_blank_point.cpp",
"ViewState": "AQIAAHkAAAAAAAAAAAAIwDgAAAA6AAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
"WhenOpened": "2024-04-17T04:29:25.574Z",
"EditorCaption": ""
}
]
}
]
}
]
}

@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.9.34723.18
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_blank_point", "test_blank_point\test_blank_point.vcxproj", "{0467BAD5-138D-48B2-AF78-2C600E82CD3B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0467BAD5-138D-48B2-AF78-2C600E82CD3B}.Debug|x64.ActiveCfg = Debug|x64
{0467BAD5-138D-48B2-AF78-2C600E82CD3B}.Debug|x64.Build.0 = Debug|x64
{0467BAD5-138D-48B2-AF78-2C600E82CD3B}.Debug|x86.ActiveCfg = Debug|Win32
{0467BAD5-138D-48B2-AF78-2C600E82CD3B}.Debug|x86.Build.0 = Debug|Win32
{0467BAD5-138D-48B2-AF78-2C600E82CD3B}.Release|x64.ActiveCfg = Release|x64
{0467BAD5-138D-48B2-AF78-2C600E82CD3B}.Release|x64.Build.0 = Release|x64
{0467BAD5-138D-48B2-AF78-2C600E82CD3B}.Release|x86.ActiveCfg = Release|Win32
{0467BAD5-138D-48B2-AF78-2C600E82CD3B}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {641FDD2B-817B-4101-B5E1-14C438B5BA30}
EndGlobalSection
EndGlobal

@ -0,0 +1,314 @@
// test_blank_point.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
// 垂直线.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <opencv2/opencv.hpp>
#include <iostream>
#include <limits>
#include <cmath>
#define _USE_MATH_DEFINES
#include <math.h>
#include <filesystem>
using namespace cv;
using namespace std;
class image
{
public:
string input_path="E:\\project\\Chip detection\\240407-shaft\\short\\Image_20240407143655906.bmp";
string output_path="E:\\project\\Chip detection\\240407\\short";
};
// 计算旋转矩阵
Mat getRotationMatrix(Point2f center, float angle, float scale) {
Mat rot_mat = getRotationMatrix2D(center, angle, scale);
return rot_mat;
}
int Marginaljudgment(const cv::Mat& binaryImage)
{
int Marginal_line = 0;
for (int row = 0; row < binaryImage.rows; ++row)
{
int blackPixelCount = 0;
for (int col = 0; col < binaryImage.cols; ++col)
{
if (binaryImage.at<uchar>(row, col) < 15) // 黑色像素
{
++blackPixelCount;
}
}
if (blackPixelCount == binaryImage.cols)
{
Marginal_line = row;
}
/*else if (blackPixelCount == binaryImage.cols && row > binaryImage.rows / 2)
{
Marginal_line = binaryImage.rows - row;
}*/
}
std::cerr << "cols:" << binaryImage.cols << std::endl;
std::cerr << "rows:" << binaryImage.rows << std::endl;
return Marginal_line;
}
int main(int argc, char** argv) {
string input_image_path = "E:\\project\\Chip detection\\240407-shaft\\short\\Image_20240407144459269.bmp";
Mat image = imread(input_image_path);
if (image.empty())
{
std::cerr << "Failed to load the binary image." << std::endl;
return -1;
}
Mat gray_image;
cvtColor(image, gray_image, COLOR_BGR2GRAY);
int Marginal_line = Marginaljudgment(gray_image);
std::cerr << "Marginal_line:" << Marginal_line << std::endl;
// 进行边缘检测这里以Canny算法为例
cv::Mat edges;
cv::Canny(image, edges, 50, 150);
// 保存边缘检测结果图片
//cv::imwrite("E:\\project\\Chip detection\\240407\\image_txt\\edges_detected.bmp", edges);
// 获取边缘点的坐标
std::vector<cv::Point> edgePoints;
cv::findNonZero(edges, edgePoints);
bool foundCondition = false;
cv::Point first_point(0, 0);
cv::Point second_point(0, 0);
cv::Point last_point(0, 0);
cv::Point second_last_point(0,0);
Point list1 = edgePoints[0];
Point list2 = edgePoints[1];
for (size_t i = 1; i < edgePoints.size()-1; i++)
{
if (edgePoints[i].y == edgePoints[i + 1].y && edgePoints[i + 1].x - edgePoints[i].x > 1)
{
first_point = edgePoints[i]; // 首个边缘点
second_point = edgePoints[i + 1]; // 第二个边缘点
break;
}
}
for (size_t i = edgePoints.size() - 1; i >0; i--)
{
if (edgePoints[i].y == edgePoints[i - 1].y && edgePoints[i].x - edgePoints[i-1].x > 1)
{
last_point = edgePoints[i]; // 首个边缘点
second_last_point = edgePoints[i - 1]; // 第二个边缘点
break;
}
}
std::cout << "first_point: " << first_point << std::endl;
std::cout << "second_point: " << second_point << std::endl;
std::cout << "last_point: " << last_point << std::endl;
std::cout << "second_last_point: " << second_last_point << std::endl;
// 计算首个和第二个边缘点构成线段的中点
cv::Point mid_point_first_segment((first_point.x + second_point.x) / 2, (first_point.y + second_point.y) / 2);
std::cout << "mid_point_first_segment: " << mid_point_first_segment << std::endl;
// 计算倒数首个和倒数第二个边缘点构成线段的中点
cv::Point mid_point_last_segment((last_point.x + second_last_point.x) / 2, (last_point.y + second_last_point.y) / 2);
std::cout << "mid_point_last_segment: " << mid_point_last_segment << std::endl;
// 计算两个中点的斜率
double slope = (mid_point_last_segment.y - mid_point_first_segment.y) / (mid_point_last_segment.x - mid_point_first_segment.x);
//std::cout << "Slope between the two midpoints: " << slope << std::endl;
// 计算角度
double angle = atan(slope) * 180 / M_PI;
std::cout << "Angle in degrees: " << angle << std::endl;
double Rotateangle;
if (angle > 0)
{
Rotateangle = angle - 90;
}
else
{
Rotateangle = angle + 90;
}
double scale = 1.0;
Point2f center = mid_point_last_segment;
//Point2f center = edgePoints[edgePoints.size()];
std::cout << "center: " << center << std::endl;
Mat rot_mat = getRotationMatrix(center, Rotateangle, scale);
Mat rotated_image;
Size img_size = gray_image.size();
warpAffine(edges, rotated_image, rot_mat, img_size, INTER_LINEAR, BORDER_CONSTANT, Scalar(0));
string output_path_center("E:\\project\\Chip detection\\240407\\short\\result_image.jpg");
imwrite(output_path_center, rotated_image);
std::vector<cv::Point> rotatedPoints;
cv::findNonZero(rotated_image, rotatedPoints);
/*for (const cv::Point& point : rotatedPoints)
{
std::cout << "Edge Point: (" << point.x << ", " << point.y << ")" << std::endl;
}*/
//分组计算同一行边缘点列坐标的差值
std::map<int, std::vector<int>> rowColDifferences; // 存储每行(键)对应的列坐标差值(值)
for (size_t i = 1; i < rotatedPoints.size(); ++i)
{
const cv::Point& prevPoint = rotatedPoints[i - 1];
const cv::Point& currPoint = rotatedPoints[i];
// 同一行的边缘点才计算差值
if (prevPoint.y == currPoint.y)
{
int colDiff = currPoint.x - prevPoint.x;
if (colDiff>1)
{
rowColDifferences[currPoint.y].push_back(colDiff);
}
}
}
// 打印或进一步分析每一行的列坐标差值
for (const auto& rowEntry : rowColDifferences)
{
int row = rowEntry.first;
const std::vector<int>& colDiffs = rowEntry.second;
std::cout << "Row " << row << ": Column differences:";
for (int diff : colDiffs)
{
std::cout << " " << diff;
}
std::cout << std::endl;
}
return 0;
}
/*int main(int argc, char** argv) {
if (argc != 2) // 检查命令行参数是否正确(期望一个输入图片路径)
{
std::cerr << "Usage: program_name input_image_path" << std::endl;
return -1;
}
image Current_image;
string input_image_path = Current_image.input_path;
std::string file_extension = input_image_path.substr(input_image_path.find_last_of(".") + 1);
Mat image = imread(input_image_path);
// 将图片转换为灰度图像
Mat gray_image;
cvtColor(image, gray_image, COLOR_BGR2GRAY);
if (gray_image.empty())
{
std::cerr << "Failed to load the binary image." << std::endl;
return -1;
}
cv::Point middleBlackPixelFirstRow = getMiddleBlackPixelInRow(gray_image, gray_image.rows / 4);// First row
cv::Point middleBlackPixelLastRow = getMiddleBlackPixelInRow(gray_image, gray_image.rows / 4 * 3); // Last row
double angleInDegrees = CalculatingAngle(middleBlackPixelFirstRow, middleBlackPixelLastRow);
float scale = 1.0; // 不缩放,保持原比例
// 计算旋转中心(这里假设以最后一行的黑色像素作为旋转中心)
Size img_size = gray_image.size();
cv::Point2f center;
center.x = (middleBlackPixelFirstRow.x + middleBlackPixelLastRow.x) / 2;
center.y = (middleBlackPixelFirstRow.y + middleBlackPixelLastRow.y) / 2;
//int width = image.cols;
//int height = image.rows;
//center.x = width / 2;
//center.y = height / 2;
double angel = angleInDegrees - 90;
std::cout << "center: " << center << std::endl;
std::cout << "cols " << image.cols << std::endl;
// 计算旋转矩阵
Mat rot_mat = getRotationMatrix(center, angel, scale);
// 旋转图像
Mat rotated_image_center;
warpAffine(gray_image, rotated_image_center, rot_mat, img_size, INTER_LINEAR, BORDER_CONSTANT, Scalar(255));
// 保存旋转后的图像
//string output_path_center = "E:\\project\\Chip detection\\240407\\short\\rotated_Image_20240407144606626.jpg";
string output_path_center("E:\\project\\Chip detection\\240407\\short\\result_image.jpg");
imwrite(output_path_center, rotated_image_center);
std::string output_txt_path("E:\\project\\Chip detection\\240407\\short\\result_image.txt"); // 生成与输入图片同名但扩展名为.txt的输出文件路径
ofstream outputFile(output_txt_path); // 创建输出文件
if (!outputFile.is_open())
{
cerr << "Error: Could not open or create the output file!" << endl;
return -1;
}
for (int row = 0; row < rotated_image_center.rows; ++row)
{
int blackPixelCount = 0;
for (int col = 0; col < rotated_image_center.cols; ++col)
{
if (rotated_image_center.at<uchar>(row, col) < 10) // 黑色像素
{
++blackPixelCount;
}
}
outputFile << blackPixelCount << endl; // 输出当前行的黑色像素数量
}
outputFile.close(); // 关闭输出文件
return 0;
}*/
// 运行程序: Ctrl + F5 或调试 >“开始执行(不调试)”菜单
// 调试程序: F5 或调试 >“开始调试”菜单
// 入门使用技巧:
// 1. 使用解决方案资源管理器窗口添加/管理文件
// 2. 使用团队资源管理器窗口连接到源代码管理
// 3. 使用输出窗口查看生成输出和其他消息
// 4. 使用错误列表窗口查看错误
// 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
// 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件
// 运行程序: Ctrl + F5 或调试 >“开始执行(不调试)”菜单
// 调试程序: F5 或调试 >“开始调试”菜单
// 入门使用技巧:
// 1. 使用解决方案资源管理器窗口添加/管理文件
// 2. 使用团队资源管理器窗口连接到源代码管理
// 3. 使用输出窗口查看生成输出和其他消息
// 4. 使用错误列表窗口查看错误
// 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
// 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件

@ -0,0 +1,140 @@
<?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>{0467bad5-138d-48b2-af78-2c600e82cd3b}</ProjectGuid>
<RootNamespace>testblankpoint</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" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<IncludePath>E:\opencv\opencv\build\include;$(IncludePath)</IncludePath>
<LibraryPath>E:\opencv\opencv\build\x64\vc14\lib;E:\opencv\opencv\build\x64\vc15\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<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>
<AdditionalDependencies>opencv_world3416.lib;opencv_world3416d.lib;%(AdditionalDependencies)</AdditionalDependencies>
</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="test_blank_point.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="test_blank_point.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>

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>E:\c++\test_blank_point\x64\Debug\test_blank_point.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
<SatelliteDlls />
<NonRecipeFileRefs />
</Project>

@ -0,0 +1,5 @@
 test_blank_point.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\filesystem(12): warning STL4038: The contents of <filesystem> are available only with C++17 or later.
E:\c++\test_blank_point\test_blank_point\test_blank_point.cpp(154,58): warning C4244: “参数”: 从“double”转换到“float”可能丢失数据
E:\c++\test_blank_point\test_blank_point\test_blank_point.cpp(154,45): warning C4244: “参数”: 从“double”转换到“float”可能丢失数据
test_blank_point.vcxproj -> E:\c++\test_blank_point\x64\Debug\test_blank_point.exe

@ -0,0 +1 @@
E:\c++\test_blank_point\test_blank_point\test_blank_point.cpp;E:\c++\test_blank_point\test_blank_point\x64\Debug\test_blank_point.obj

@ -0,0 +1,2 @@
^E:\C++\TEST_BLANK_POINT\TEST_BLANK_POINT\X64\DEBUG\TEST_BLANK_POINT.OBJ
E:\c++\test_blank_point\test_blank_point\x64\Debug\test_blank_point.ilk

@ -0,0 +1,2 @@
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.39.33519:TargetPlatformVersion=10.0.22621.0:
Debug|x64|E:\c++\test_blank_point\|

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

@ -0,0 +1,4 @@
相机 MV-CS200-10UC
镜头 TCLWD080-110-3M
光源 VLPXBGSD50X50W-DR
曝光3200

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Loading…
Cancel
Save