已回答
How can i calculate precision and recall in a Siamese network
yes,sir,may be use model to test data output,and use [tpr,fpr,thresholds] = roc(targets,outputs) to get roc

2 years 前 | 0

已回答
Not enough input arguments.
clc; clear all; close all; I=imread('football.jpg'); if ndims(I)==3 I = rgb2gray(I); end imshow(I); N=16; %niveau de q...

2 years 前 | 1

已回答
Output of number of people from a thermal image
im = imread('https://ww2.mathworks.cn/matlabcentral/answers/uploaded_files/938099/rgb.png'); jm = rgb2lab(im); bw = im2bw(mat2...

2 years 前 | 0

已回答
Polar Plot Axis is Off Center from and not Scaled with Background Image
minS = 15; maxS = 30; minH = 50; %because yellow is apparently yucky c = (-1*minS+maxS)/2; a = maxS-c; ellipticity = c/a;...

2 years 前 | 0

已回答
Error using activations functions in matlab
yes,sir,if modify net structure,may be need retrain it,then use activations to get feature so,may be use featuresTrain = activ...

2 years 前 | 1

| 已接受

已回答
Not using GPU for trainNetwork?
yes,sir,may be use >> gpuDevice to check your ExecutionEnvironment or in train option,set 'ExecutionEnvironment','gpu' 'Exe...

2 years 前 | 0

已回答
How to save SeriesNetwork variables to file for quick loading next time?
yes,sir,may be use save to get mat file for target variable,such as warning off all modelfile = 'digitsDAGnet.h5'; net = impo...

2 years 前 | 1

| 已接受

已回答
what is the best methodology to detect playing cards?
yes,sir,may be use hu,lbp or other feature to classify,or just use cnn to train data

2 years 前 | 0

已回答
MATLAB code for non subsampled shearlet transform
yes,sir,may be use NSST toolbox,such as https://ww2.mathworks.cn/matlabcentral/fileexchange/10049-nonsubsampled-contourlet-tool...

2 years 前 | 0

已回答
How to convert complex single Image data into complex double image?
yes,sir,may be use double(your_matrix)

2 years 前 | 0

已回答
how to select region with longest length on segmented image ?
% Initialization Steps. clc; % Clear the command window. close all; % Close all figures (except those of imtool.) clear; ...

2 years 前 | 0

| 已接受

已回答
Error in Recognize Text Using CRAFT Model And OCR Example
yes,sir,may be check length(output) to judge its number

2 years 前 | 0

已回答
Finding black borders in image
yes,sir,may be upload your image file,let's use the follow method bw2 = ~imclearborder(~bw); [r,c] = find(bw2); bw2 = bw(min(...

2 years 前 | 1

已回答
How do I return a matrix from a function?
A = readMyPicture("cameraman.tif"); figure; imshow(A, []); function A = readMyPicture (fileName) A = []; if nargin < 1 ...

2 years 前 | 0

已回答
featureinputlayer and convolution1dlayer
layers = [ featureInputLayer(100,'Name','input') fullyConnectedLayer(5, 'Name','fc') softmaxLayer('Name','sm') ...

2 years 前 | 0

已回答
How to change Y-axis coordinates of meshgrid
imSz = 1000; % assuming images are 1000x1000 imbg = false(imSz); % background "color" imfg = ...

2 years 前 | 0

已回答
How to remove scales and the black border from the segmented image
I = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/933929/image.jpeg'); I = imcrop(I, [138 47 1061 799]...

2 years 前 | 0

已回答
PIV-OH Overlap
yes,sir,may be use quiver(x,y,x_velocity, y_velocity) hold on; h=imshow(PLIF_data,[]) set(h,'AlphaData',0.5)

2 years 前 | 0

已回答
fit the found retina area with a second-order polynomial using least-square curve fitting
yes,sir,may i ask what is the target,the curve?such as clc; clear all; close all; I = imread('https://ww2.mathworks.cn/matlabc...

2 years 前 | 0

已回答
How to fruit classify by neural network ?
yes,sir,may be use pretrained cnn model,such as https://ww2.mathworks.cn/help/releases/R2019a/deeplearning/examples/classify-im...

2 years 前 | 1

| 已接受

已回答
Thickness measurements of an optical image
im = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/930819/image.png'); bw = im2bw(im); bw2 = imclos...

2 years 前 | 0

已回答
How Can I remove lines from the below images?
urls = {'https://www.mathworks.com/matlabcentral/answers/uploaded_files/928744/Stryker_Triathlon%20CR_Total%20Knee.JPG','https...

2 years 前 | 0

已回答
manipulating each pixel in an image sequence
yes,sir,may be use loop to process,such as for i = 1 : 40 im = imread(fullfile(pwd, 'images', sprintf('%02d.jpg'))); ...

2 years 前 | 0

已回答
How to use train, validation and test?
yes,sir training data is used to train the model the validation data is used to observe the performance of the model during tr...

2 years 前 | 0

已回答
How to Split image based on a blue line in image - so i want to split image into 2 and the cut should be where a blue line is in the image.
img = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/928519/image.png'); jmg = rgb2lab(img); s = imc...

2 years 前 | 0

已回答
How to create fixed rectangle and crop it?
img = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/927339/image.jpeg'); figure; imshow(img, []); h =...

2 years 前 | 0

| 已接受

已回答
How can I convert a graph representation into a density image
yes,sir,may be use imagesc,and colormap to get pcolor image if possible,may be upload the data mat file to analysis

2 years 前 | 0

已回答
How to perform normalization of images, splitting of datasets and data processing correctly?
yes,sir,may be use mat2gray 、rescale、mapminmax to process data,such as img = double(imread('rice.png')); [~,PS] = mapminmax(i...

2 years 前 | 2

已回答
RGB to LAB converting to a weird colour
img = imread('football.jpg'); jmg = rgb2lab(img); figure; subplot(2, 2, 1); imshow(img, []); title('origin'); subplot(2, 2,...

2 years 前 | 0

已回答
Detect the shape in MATLAB
img = imread('https://ww2.mathworks.cn/matlabcentral/answers/uploaded_files/928244/image_2732.png'); bw = im2bw(img); % 霍夫分析 ...

2 years 前 | 0

加载更多