摘要:
目录:读取图像,获取属性信息,图像ROI,图像通道的拆分和合并 1. 读取图像 像素值返回:直接使用坐标即可获得, 修改像素值:直接通过坐标进行赋值 能用矩阵操作,便用,使用numpy中的array.item()以及array.itemset()会加快速度,逐渐修改像素会慢 2. 图像属性: 行、列 阅读全文
摘要:
function out1 = plotroc(varargin) %PLOTROC Plot receiver operating characteristic. % % plotroc(targets,outputs) takes target data in 1-of-N form (each column % vector is all zeros with a single 1 ind... 阅读全文
摘要:
function [tpr,fpr,thresholds] = roc(targets,outputs) %ROC Receiver operating characteristic. % % The receiver operating characteristic is a metric used to check % the quality of classifiers. For ea... 阅读全文
摘要:
function [X,Y,T,auc,optrocpt,subY,subYnames] = ... perfcurve(labels,scores,posClass,varargin) %PERFCURVE Compute Receiver Operating Characteristic (ROC) curve or other % performance curve for c... 阅读全文
摘要:
Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array. Example 1: (1)思想1:使用queue ,对二叉树进行层遍历。 C++: 阅读全文
摘要:
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo 阅读全文
摘要:
Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note:Assume we are dealing with an environment which cou 阅读全文