登录
首页 » Others » opencv实现红细胞个数计数

opencv实现红细胞个数计数

于 2020-07-01 发布
0 311
下载积分: 1 下载次数: 1

代码说明:

该程序采用opencv工具,计算给定图片内的红细胞个数,同时计算细胞的面积、周长和密集度信息。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 基于python写的串口调试助手,内含.exe序和源代码
    这个是用python编写的串口调试助手,内含可执行程序和源代码,有详细注释,还有运行代码所必须的dll库文件,保证好用,希望对大家有帮助
    2020-11-29下载
    积分:1
  • 分数阶微积分控制器(FOPID)的Simulink实现
    【实例简介】分数阶微积分PID控制器(FOPID)的Simulink实现,模块中使用Oustaloup滤波器近似算法,算法可修改其他。
    2021-11-12 00:31:11下载
    积分:1
  • C# Winform Sockets收发Json样例
    参照博客C# JSON和对象之间互相转换用Winform进行了JSON和对象之间转化的呈现,并用Socket来传输JSON。原文链接:http://www.cnblogs.com/HCCZX/p/5238556.html
    2020-11-28下载
    积分:1
  • Matlab三次指数平滑算法
    Matlab实现三次指数平滑算法Matlab实现三次指数平滑算法Matlab实现三次指数平滑算法Matlab实现三次指数平滑算法Matlab实现三次指数平滑算法
    2020-11-28下载
    积分:1
  • 相机标定源代码
    摄像机标定代码如张正友标定。得到一些标定数据
    2020-12-01下载
    积分:1
  • Dynamic Bone 1.20 制作ru摇臀摇头发尾巴摆动的方便插件
    【实例简介】导入包里有演示,模型导入装配什么的就不说了。 unity3d 5.0 版本以上 动力学骨骼插件DynamicBone: 1.把DynamicBone脚本放到角色上。 2.Root放入要进行动力学的根骨骼。 3.Colliders放入要进行碰撞的骨骼数组,该骨骼上要放上DynamicBoneCollider组建。 其他的参数都很简单,一看就知道怎么用了,这个插件东西不多但是效果不错,很好用。
    2021-11-30 00:49:27下载
    积分:1
  • 线性调频连续波雷达仿真(matlab),汽车雷达测距测速雷达仿真
    LFMCW雷达测距测速,代码中有详细注释。汽车安装线性调频连续波雷达测距测速
    2020-12-06下载
    积分:1
  • FLUENT经典算例合集7个
    案例分析的电子书《数值计算与工程仿真》专刊一 FLUENT HELP算例精选中文版(→)目录前言..2目录FLUENT经典算例翻译之一算例1介绍如何使用 Fluent算例4非定常可压缩流动模型.52算例5辐射与自然对流模拟·:······99FLUENT经典算例翻译之二算例13使用非预混燃烧模型151算例15蒸发性液体喷雾建模.∴214算例18使用混合物多相模型和欧拉多相模型..∴252算例21使用欧拉多相粒子传热模型垂··D垂垂垂。看垂垂垂看D看垂·D4。垂278ww.myCFDcn《数值计算与工程仿真》专刊一 FLUENT HELP算例精选中文版(→)算例1介绍如何使用 Fluent引言此向导通过图例说明了一个发生在混合弯管处的两维湍流流动和传热问题的求解方法和过程。这种混合弯管的结构常见于发电厂和化工厂的管道系统中。正确计算出弯管内流体交汇处附近的流场和温度场分布,对于设计合适的入口管道位置具有重要意义通过此向导,用户可学会以下内容●在 Fluent中输入网格文件使用混合单位制去定义儿何体和流体的属性设置强制对流的湍流流动的流体物性和边界条件迭代计算并使用残差监视器监测计算过程及其收敛性●使用隔离求解器进行求解使用等势图检察流场和温度场●运用二阶离散化方法重新计算以获得更佳的温度分布对网格进行温度梯度自适应,进一步求解更佳的温度场分布前提条件在学习此向导之前,假设用户还没有使用 Fluent的给验,不过,已经学习过用户指南第一章中的简单算例,并且熟悉 Fluent的界面及其指南中的规约可题描述问题如图1-1所小。一股温度为26℃的冷流体流入大管道,在弯管处与另股温度为40℃热流体混合。管道的长度单位为英寸,而流体的属性和边界条件则使用国际单位。入口管道的雷诺数为2.03×105,因此,选择湍流流动模型。4ww.myCFDcn《数值计算与工程仿真》专刊一 FLUENT HELP算例精选中文版(→)P =100 kg/viscosity8x14FConductivity: k=0.537 Y4 miK2SpC Ic Heat 9=4216 Jkg-k6酽.2mT1121m图图1-1问题说明准备工作1.从 Fluent的文件光盘中拷贝文件 elbow/ elbow, msh到电脑的 Fluent作日录中对于Unⅸx系统,当把文件光盘放入电脑光驱后,可以在以下目录找到这个文件:/ edrom/uent61/help/ tuttles述 cdrom为电脑的光驱目录对于 windows系统,当把文件光盘放入电脑光驱后,可以在以下冂录找到个文件cdrom: fluent 6.1 help tutfiles上述 cdrom为电脑的光驱目录2.启动 Fluent,选择2D求解器。ww.myCFDcn《数值计算与工程仿真》专刊一 FLUENT HELP算例精选中文版(→)第1步:与网格相关的操作读取网格文件 elbow, mshFilc→Read+}CascSelect fileFiterh,于d,SH,GRdirectoriesFileshome user tutorial/elbow. msh/home userautorialaCase Filehome /user/tutorialoKFiterCancela)在 Files项中点击选中 elbow. msh,然后点击OK完成操作。注意当 Fluent读取网格文件的同时,信息会不断显示在反馈窗口内,报告网格转化的过程。当读取网格文件完毕, Fluent的反馈窗凵会显示共读取了918个三角形的流体单元,以及许多带着不同分区标识符的边界面。2.网格检查。Grid→} Check6ww.myCFDcn《数值计算与工程仿真》专刊一 FLUENT HELP算例精选中文版(→)F1uent的信息反馈窗口会显示如下信息:Grid checkDomain extentscoordinate:min(m)=0.0000009+00,max(m)=6.400001e+01y- coordinate:min(m)=-4.538534e+00,max(m)=6.400000e+01Volume slatisticsminimum volume (m3): 2.782193c-01maximum volume (m3):3.926232e+00total volume (m3):1.682930e+03Face area statisticsminimum face area (m2):8.015718e-01maximum face area(m2):4. 118252e+00Checking number of nodes per cellChecking number of faces per cellChecking thread pointers.Checking number of cells per faceChecking face cellsChecking bridge facesChecking right-handed cellsChecking face handednessChecking element type consistencyChecking boundary typesChecking face pairs.Checking periodic boundaries.Checking node countChecking nosolve cell countChecking nosolve face countChecking face childrenChecking cell childrenChecking storageww.myCFDcn《数值计算与工程仿真》专刊一 FLUENT HELP算例精选中文版(→)Done注意网格检查结東后,信息反馈窗∏会以默认的SI单位制给出网格在ⅹ轴和Y轴上的最大和最小值,并将报告出网格的賦它特性。网格检查还会报告出有关网格的任何错误。需要特别注意的是,确保最小体积不能是负值,否则 Fluent无法进行计算。在SI单位制中,默认单位是m,若想改变单位制,使用 in ches:可以打开 Scale grid对话框。3.平滑(或者交换)网格Grid→} Smooth/swap…Smooth/Swap GridsmoothSwap InfoMethodNumber SwappedskewnessMinimum skewnesscumber visitedNumher of lerationsSmoothCloseFluent读取网格文件后,平滑三角形或四边形网格是一个良好的习惯,那样能确保使用质量铰好的网格进行计算。a)点击按钮 Smooth,再点击按钮Swap,重复上述操作,直到 Fluent报告没有需要交换的面为止。若 Fluent再无法通过交换改善网格质量,则没有平面可被交换了。b)点击 Close关闭对话框。ww.myCFDcn《数值计算与工程仿真》专刊一 FLUENT HELP算例精选中文版(→)4.更改网格的长度单位Grid→ scalea)在 Units conversion(单位转换)项的 Grid was created ln(网格长度单位)的右侧下拉列表中选择In(代表选择了英寸b)点击 Scale按钮,更改长度单位。在 Domain extents栏中采用了默认的SI单位制,长度单位为mc)点击按钮 Change length Units,设定 inches(英寸)为此次计算采用的长度单位确保Xmax(in)和Ymax(in)中数值为64英尺。(如图1.1)Scale gridScale factorsUnit a conversion00254rid Was Created In inY0+0254Change Length UnitsDomain extentsXmax [in]E4400001Ymin (in534Ymax(in) 64scaleUnscaleCloseHeld)计算采川的长度单位已被吏改为 inches(英寸),此时便能正确反映网格的几何尺寸注意此算例的求解过程中,除了长度外,其它单位均采用SI制。一般来说,没有必要对其它单位进行改动。按照上述的操作,长度单位已被确定为 inches若用户想采用别的单位制作为长度单位,如mm,可以在 Define的下拉菜单中打开 Set units对话框,进行更改。ww.myCFDcn《数值计算与工程仿真》专刊一 FLUENT HELP算例精选中文版(→)5.显示网格。(图1.2)Display→Grid,,Grid DisplOptionsEdge TypeSurfaces三彐p Mores今Atermal-3pressure-outlet-7H Edgesv feature velocity-inlet-5p facesy outlineuelocily-inlet-rall-4Partitionswall-iiShrink factor到终安Surface Types且彐Surface eame patternclip-surfHatchfanOutline InteriorDIsplayColorsCloseHelpa)确保在 surfaces项屮的所有表面都被选屮,然后点击 Display。ww.myCFDcn
    2020-11-30下载
    积分:1
  • stm32通过CAN通信控制电机
    本程序用stm32CAN通信控制伺服电机转动,是再一次创新项目所作。芯片是stm32f407
    2020-11-28下载
    积分:1
  • ISO16750-3-2012
    ISO16750-3-2012Road vehicles — Environmentalconditions and testing for electricaland electronic equipment —Part 3:Mechanical loadsContents PageForeword.............................................................................................................................................Iso16750-3:2012[EContentsPageForewordScope12Normative references1Terms and definitions4Tests and requirements4.1ibration4.2 Mechanical shock274.3 Free fall…294.4 Surface strength/ scratch and abrasion resistance294.5 Gravel bombardmentCode letters for mechanical loads29Documentation…,…………111111130Annex A (informative) Guideline for the development of test profiles for vibration tests.32Annex B (informative) Recommended mechanical requirements for equipment depending on themounting location44Bibliography46C ISO 2012-All rights reservedIso16750-3:2012EForewordISo (the International Organization for Standardization) is a worldwide federation of national standardsbodies (Iso member bodies). The work of preparing International Standards is normally carried outthrough iso technical committees. Each member body interested in a subject for which a technicalcommittee has been established has the right to be represented on that committee. Internationaorganizations, governmental and non-governmental, in liaison with ISO, also take part in the workIso collaborates closely with the International Electrotechnical Commission (IEC) on all matters ofelectrotechnical standardizationInternational Standards are drafted in accordance with the rules given in the ISo/IEC Directives, Part 2The main task of technical committees is to prepare lnternational standards. draft InternationalStandards adopted by the technical committees are circulated to the member bodies for votingublication as an International Standard requires approval by at least 75 of the member bodiescasting a voteAttention is drawn to the possibility that some of the elements of this document may be the subject ofpatent rights. ISO shall not be held responsible for identifying any or all such patent rightsIso 16750-3 was prepared by Technical Committee ISO/TC 22, Road vehicle, Subcommittee SC 3,Electrical and electronical equipment.This third edition cancels and replaces the second edition (Iso 16750-3: 2007), which has beentechnically revisedISo 16750 consists of the following parts, under the general title road vehicles-Environmental conditionsand testing for electrical and electronic equipment:Part 1: GeneralPart 2: electrical loadsPart 3: Mechanical loadsPart 4: Climatic loadsPart 5: chemical loadso ISO 2012-All rights reservedINTERNATIONAL STANDARDIso16750-3:2012(E)Road vehicles- Environmental conditions and testing forelectrical and electronic equipmentPart 3Mechanical loads1 ScopeThis part of IS0 16750 applies to electric and electronic systems/components for road vehicles. Itdescribes the potential environmental stresses and specifies tests and requirements recommended forthe specific mounting location on/in the vehicleThis part of iso 16750 describes mechanical loads2 Normative referencesThe following referenced documents are indispensable for the application of this document. For datedreferences, only the edition cited applies For undated references, the latest edition of the referenceddocument (including any amendments applies.Iso16750-1, Road vehicles- Environmental conditions and testing forelectrical andelectronicequipment-Part 1: GeneralIEC 60068-2, 6, Environmental testing- Part 2-6: Testing, Test Fc: Vibration SinusoidalIEC60068-2, 14, Basicenvironmental testing procedures- Part 2-14: Tests-Test Nb: Change oftemperatureTEC 60068-2, 64, Environmental testing Part 2-64: Test methods -Test Fh -Vibration, broad-bandrandom(digital control)and guidanceIEC 60068-2, 80, Environmental testing- Part 2-80: Tests- Test Fi: Vibration - Mixed mode testingIEC 60068-2-31, Environmental testing procedures- Part 2: Tests; Test Ec: Free fall, Clause 5.23 Terms and definitionsFor the purposes of this document, the terms and definitions given in Iso 16750-1 app4 Tests and requirements4.1 Vibration41.1 GeneralThe vibration test metho ds specified consider various levels of vibration severities applicable to on-board electrical and electronic equipment. It is recommended that the vehicle manufacturer andsupplier choose the test method, the environmental temperature and vibration parameters dependingon the specific mounting locationFollowing the expressions in MIL-STD please noticeC ISO 2012-All rights reservedIso16750-3:2012EWhen applied properly, the environmental management and engineering processes described in this partof Iso 16750 can be of enormous value in generating confidence in the environmental worthiness andoverall durability. However, it is important to recognize that there are limitations inherent in laboratorytesting that make itimperative to use proper caution and engineering judgement when extrapolating theselaboratory results to results that may be obtained under actual service conditions. In many cases, realworld environmental stresses (singularly orin combination cannot be duplicated practically or reliably intestlaboratories. Therefore, users of this part of Iso 16750 should not assume that a system or componentthat passes laboratory tests of this part of Iso 16750 would also pass field/ fleet verification trialsThe specified values are the best estimation one can get up to the moment when results frommeasurements in the car are received - but they do not replace a car measurement!The specified values apply to direct mounting in defined mounting locations. Using a bracket formounting can resultin higher or lower loads. If the device under test ( DUT)is used in the vehicle with abracket then all vibration and mechanical shock test shall be done with this bracketCarry out the vibration with the dut suitably mounted on a vibration table. The mounting method (sused shall be noted in the test report. Carry out the frequency variation by logarithmic sweeping of 0,5octave/minute for sinusoidal tests and the sinusoidal part of sine on random tests. The scope of therecommended vibration tests is to avoid malfunctions and breakage mainly due to fatigue in the fieldTesting for wear has special requirements and is not covered in this part of ISo 16750Loads outside of the designated test frequency ranges are to be considered separatelNOTE Deviations from the load on the DUT can result, should vibration testing be carried out according tothis part of Iso 16750 on a heavy and bulky dut, as mounting rigidity and dynamic reaction on the vibrator tableexcitation are different compared to the situation in the vehicle. This deviation can be minimized by applying theaverage control method(see Annex A)Application of the weighted average control method according to IEC 60068-2, 64 is to be agreed uponSubject the dut during the vibration test to the temperature cycle according to iEC 60068-2, 14, withelectric operation according to diagram 1. Alternatively, a test at constant temperature may be agreed onOperate the dutelectrically as indicatedin Figure l at Tmin(Short functional testafterthe dUT completelyreached Tmin). This functional test shall be as short as possible- only long enough to check the properperformance of the dUt. This minimizes self-heating of the dUT. Additional electrical operation of theDUT between 210 min and 410 min of the cycle (see Figure 1)Additional drying of test chamber air is not permittedIn the vehicle, vibration stress can occur together with extremely low or high temperatures; for thisreason, this interaction between mechanical and temperature stress is simulated in the test, too. afailure mechanism is, for example, a plastic part of a system/component, which mellows due to the hightemperature and cannot withstand the acceleration under this condition2o ISO 2012-All rights reservedIso16750-3:2012[EYmax20aburditt0100200300400500600yY temperature[°C]x time [ minIa Operating mode 3.2 according to ISo 16750-1.b Operating mode 2. 1 according to ISo 16750-1One cycleFigure 1-Temperature profile for the vibration testTable 1- Temperature versus time for the vibration testTimeTemperaturemin°C0206040150-4021020300max41048020See Is016750-44.1.2 Tests4.1.2.1 Test I- Passenger car, engine4.1.2.1.1 PurposeThis test checks the dUt for malfunctions and breakage caused by vibrationThe vibrations of a piston engine can be split up into two kinds: Sinusoidal vibration which results from theunbalanced mass forces in the cylinders and random noise due to all other vibration-schemes of an engine,C ISO 2012-All rights reserved3Iso16750-3:2012Ee.g. closing of valves. In the lowest frequency range from 10 Hz to 100 Hz the influence of rough-roadconditions is taken into account. The main failure to be identified by this test is breakage due to fatigueNOTE 1 Road profile usually has negligible impact on engine-mounted components. Shock inputs are effectivelysolated by suspension, and engine-mounting systemsThe test profiles specified in the following clauses apply to loads generated by(four strokereciprocating enginesNotE 2 If the dut is to be tested for a specific resonance effect, then a resonance dwell test according to 8.3.2of IEC 60068-2, 6: 2007 can also be applied4.12.1.2Test4.1.2.1.2.1 GeneralIt is required to perform this test as a mixed mode vibration test according to IEC 60068-2, 80NOTE The test duration is based on A 4. The temperature in the chamher is above room temperature (rt)atthe end of the test (2 3/4 temperature cycles4.1.2.1.2.2 Sinusoidal vibrationPerform the test according to IEC 60068-2, 6, but using a sweep rate of s 0,5 octave/minute. Use a testduration of 22 h for each plane of the dUTUse curve l in Table 2/ Figure 2 for DUT intended for mounting on engines with 5 cylinders or fewerUse curve 2 in Table 2/Figure 2 for dUT test intended for mounting on engines with 6 cylinders or moreBoth curves may be combined to cover all engine types in one test2502001501005050100150200250300350400450500ⅩKeyamplitude of acceleration [m/s2IXfrequency [Hzcurve1(≤5 cylinders)curve 2(5 cylindersFigure 2- Vibration severity curves4o ISO 2012-All rights reservedIso16750-3:2012[ETable 2- values for max acceleration versus frequencyCurve 1(see Figure 2FrequencyAmplitude of accelerationHz100100200200240200270100440100Curve 2(see Figure 2)FrequencyAmplitude of accelerationHm/s2100100150150440150CombinationFrequencyAmplitude of accelerationH1001001501502002002402002551504401504,1.21.2.3 Random vibrationPerform the test according to IEC 60068-2, 64. Use a test duration of 22 h for each plane of the DUTThe r.m.s. acceleration value shall be 181 m/s2The psd versus frequency are referred to in Figure 3 and Table 3NoTE The Power Spectral Density(PSD)values (random vibration] are reduced in the frequency range of thesinusoidal vibration testC ISO 2012-All rights reserved5Iso16750-3:2012EY100100,110100100010000KeyY PSD [(m/s2)2/HzX frequency [Hz]Figure 3- PSD of acceleration versus frequencyTable 3- Values for frequency and PsDFrequencyPSDH:(m/s2)2/Hz1010100103000,5150020200024.1.2.1.3 RequirementBreakage shall not occur.Functional status a see iso 16750-1) is required during operating mode 3.2 as defined in ISo 16750-1and functional status C during periods with other operating modes4.1.2.2 Test II-Passenger car, gearbox4.1.2.2.1 PurposeThis test checks the dut for malfunctions and breakage caused by vibrationThe vibrations of a gearbox can be split up into two kinds which result partly from sinusoidal vibrationfrom unbalanced mass forces of the engine(e. g dominating orders) in the frequency range from 100 Hzto 440 Hz and vibration from the friction of the gear wheels and other schemes, which are tested in therandom part. In the lowest frequency range from 10 Hz to 100 Hz the influence of rough-road conditionsis taken into account The main failure to be identified by this test is breakage due to fatigueChanging the gears can create additional mechanical shock and shall be considered separatey brationsThe test profiles specified in the following subclauses apply to loads generated by gearbox vibo ISO 2012-All rights reserved
    2020-12-08下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载