Question

How to find the inclination of the back bone in the attached image?

Hello Everyone... Greetings... I am working with some medical imaging problems. I want to rotate the given image after finding...

3 maanden ago | 2 answers | 0

Answered

Are you able to count the number of pixels in a 3D plot?

@ sui zhi lau, Outside Loop totalData = 0; whitePixData = 40*40*40; Inside Loop redPixData(y) = sum(sqrt(((dx(:,i+1) - dx(:...

Are you able to count the number of pixels in a 3D plot?

@ sui zhi lau, Outside Loop totalData = 0; whitePixData = 40*40*40; Inside Loop redPixData(y) = sum(sqrt(((dx(:,i+1) - dx(:...

3 maanden ago | 0

Answered

how i create a 7 images database and compare with a input image and also save it in a.mat file

Hello Indrani, the code you are using has sepecific format for finger print file reading. you are using dataset DB1 from 'FVC20...

how i create a 7 images database and compare with a input image and also save it in a.mat file

Hello Indrani, the code you are using has sepecific format for finger print file reading. you are using dataset DB1 from 'FVC20...

3 maanden ago | 0

Answered

How to run the same code for color image.is any one help me.

@ indrani dalui Try the attached file.

How to run the same code for color image.is any one help me.

@ indrani dalui Try the attached file.

3 maanden ago | 0

Answered

how i create a 7 images database and compare with a input image and also save it in a.mat file

% ICount - Number of FingerPrints % JCount - Number of Images Per FingerPrintICount=7; ICount = 7; JCount = 7; p=0; for...

how i create a 7 images database and compare with a input image and also save it in a.mat file

% ICount - Number of FingerPrints % JCount - Number of Images Per FingerPrintICount=7; ICount = 7; JCount = 7; p=0; for...

3 maanden ago | 0

| accepted

Answered

Simple Iterative expression needed solved

w = 1; y = 0; while(y < 10000) % your equation y = sqrt(10*w*w - 4*w + 2); w = w + 1; end disp(w) disp(y)

Simple Iterative expression needed solved

w = 1; y = 0; while(y < 10000) % your equation y = sqrt(10*w*w - 4*w + 2); w = w + 1; end disp(w) disp(y)

3 maanden ago | 0

Answered

How to plot two trajectories in Matlab?

Hello Sarah Hamdan, Don't paste code as a image, use option 'Insert aline code' Don't 2 different function body with same func...

How to plot two trajectories in Matlab?

Hello Sarah Hamdan, Don't paste code as a image, use option 'Insert aline code' Don't 2 different function body with same func...

3 maanden ago | 2

Answered

How to build on an existing struct 4x4xn matrix?

Hello Happy PhD, Try this one... clc; clear all; A.G(:,:,1) = [1 2 1 1 ; 4 9 5 6 ]; A.G(:,:,2) = [0 1 0 0; 0 6 0 0]; A.G...

How to build on an existing struct 4x4xn matrix?

Hello Happy PhD, Try this one... clc; clear all; A.G(:,:,1) = [1 2 1 1 ; 4 9 5 6 ]; A.G(:,:,2) = [0 1 0 0; 0 6 0 0]; A.G...

3 maanden ago | 0

| accepted

Answered

Help with Image Processing code

Hello BERG, here is code, you code only bit modified . Use the attached 'mask.bmp' image. clc; % Clear command window. clea...

Help with Image Processing code

Hello BERG, here is code, you code only bit modified . Use the attached 'mask.bmp' image. clc; % Clear command window. clea...

3 maanden ago | 0

| accepted

Answered

Using solve to solve a complex trigonometric equation

Hello Junha Kim, syms x; assume(x>=0 & x<=2*pi); eqn = cos(x)*(1-sin(x)) == 0; [solx, parameters, conditions] = solve(eqn,...

Using solve to solve a complex trigonometric equation

Hello Junha Kim, syms x; assume(x>=0 & x<=2*pi); eqn = cos(x)*(1-sin(x)) == 0; [solx, parameters, conditions] = solve(eqn,...

3 maanden ago | 0

| accepted

Answered

Not sure why my code results in a wrong figure. I am trying to simulate 2 dice rolls and counting how many times it takes to roll 2 6s out 10000 trials.

Hello Enkhdul Batkhuyag, Try this one - num_trial=10000; num_until_success=0; for i=1:num_trial,i roll_1=randi(6,1);ro...

Not sure why my code results in a wrong figure. I am trying to simulate 2 dice rolls and counting how many times it takes to roll 2 6s out 10000 trials.

Hello Enkhdul Batkhuyag, Try this one - num_trial=10000; num_until_success=0; for i=1:num_trial,i roll_1=randi(6,1);ro...

3 maanden ago | 0

| accepted

Answered

Save the values of a function in a for loop

Hell Austin Hernandez, you are correct. but Option01 is good. Option 01: function for_test x = 0:1:10; y = zeros(size(x)) ;...

Save the values of a function in a for loop

Hell Austin Hernandez, you are correct. but Option01 is good. Option 01: function for_test x = 0:1:10; y = zeros(size(x)) ;...

3 maanden ago | 0

| accepted

Answered

Please someone tell me what's wrong with my code, it keeps on returning the message, ''Unrecognized variable of v''. The image below the code is the problem?

Hello There is a problem in the calculation of 'y' in function 'DTask1_f' Calculated value first value is around 2.4, but it ...

Please someone tell me what's wrong with my code, it keeps on returning the message, ''Unrecognized variable of v''. The image below the code is the problem?

Hello There is a problem in the calculation of 'y' in function 'DTask1_f' Calculated value first value is around 2.4, but it ...

3 maanden ago | 0

| accepted

Answered

Hello I need help with for loop incrementing. Filterbanks

Hello Trevon Alvarado, f0=1600; f1=7600; fs=20000; t=0:1/fs:0.5-(1/fs); x1=1*sin(2*pi*f0*t); x2=1*sin(2*pi*f1*t); xin=x...

Hello I need help with for loop incrementing. Filterbanks

Hello Trevon Alvarado, f0=1600; f1=7600; fs=20000; t=0:1/fs:0.5-(1/fs); x1=1*sin(2*pi*f0*t); x2=1*sin(2*pi*f1*t); xin=x...

3 maanden ago | 0

Answered

Summation of table imported from excel

Hello Luis Eloy García-Mauriño Rey, % Assuming xls data strored in variabl 'data' % colum 1 is Angle, colum 2 is Volume, colu...

Summation of table imported from excel

Hello Luis Eloy García-Mauriño Rey, % Assuming xls data strored in variabl 'data' % colum 1 is Angle, colum 2 is Volume, colu...

3 maanden ago | 0

| accepted

Answered

Creating binary 3D mask from MR volume

Hello banikr, I think this is what you want ... if I am not wrong. load mri; % load mriVolume; %3D MRI data with data varia...

Creating binary 3D mask from MR volume

Hello banikr, I think this is what you want ... if I am not wrong. load mri; % load mriVolume; %3D MRI data with data varia...

3 maanden ago | 0

Answered

Automated detection of diabetic retinopathy

Hello Anas Bilal, Code tested working on 2012.

Automated detection of diabetic retinopathy

Hello Anas Bilal, Code tested working on 2012.

3 maanden ago | 1

| accepted

Answered

RGB Color Space Image Segmentation

Hello Muftahu Kabir, Here is the code ... clear all; close all; clc; I = imread('1.jpg'); figure, imshow(I); IR = I(...

RGB Color Space Image Segmentation

Hello Muftahu Kabir, Here is the code ... clear all; close all; clc; I = imread('1.jpg'); figure, imshow(I); IR = I(...

3 maanden ago | 0

| accepted

Answered

Searching a matrix and eliminating values below a certain value

Code is Not optimized, but works fine maxRow = 1; for i=1:size(A,2) BIndex = ismember(B,A(:,i)); BIndex = find(BInde...

Searching a matrix and eliminating values below a certain value

Code is Not optimized, but works fine maxRow = 1; for i=1:size(A,2) BIndex = ismember(B,A(:,i)); BIndex = find(BInde...

4 maanden ago | 0

| accepted

Answered

How to filter objects based on size using"bwareafilt()" ?

in your code, there is a code part as show below img3=imcomplement(img2); don't use that. code works fine in 2014b. Here, RO...

How to filter objects based on size using"bwareafilt()" ?

in your code, there is a code part as show below img3=imcomplement(img2); don't use that. code works fine in 2014b. Here, RO...

4 maanden ago | 0

Answered

Codec Error with VideoReader function

Here is the solution what I found https://in.mathworks.com/matlabcentral/answers/218237-unable-to-determine-the-codec-required#...

Codec Error with VideoReader function

Here is the solution what I found https://in.mathworks.com/matlabcentral/answers/218237-unable-to-determine-the-codec-required#...

4 maanden ago | 0

Answered

Unable to determine the codec required.

Hello, To solve the problem, I installed 'Media Player Codec Pack' and use the following code. vidObj = VideoReader('VideoFile...

Unable to determine the codec required.

Hello, To solve the problem, I installed 'Media Player Codec Pack' and use the following code. vidObj = VideoReader('VideoFile...

4 maanden ago | 0

Answered

how make prediction with new data and display it?

Phase 01: Training 'trainingData.xlsx' contains data need to Train. trainingData = xlsread('trainingData.xlsx'); [trainedClas...

how make prediction with new data and display it?

Phase 01: Training 'trainingData.xlsx' contains data need to Train. trainingData = xlsread('trainingData.xlsx'); [trainedClas...

4 maanden ago | 0

Answered

Testing trained classifier model with new data

sample=miraudio(audio); will give 'miraudio object'. its NOT an array. 'peak2rms' builtin function of matlab will give an err...

Testing trained classifier model with new data

sample=miraudio(audio); will give 'miraudio object'. its NOT an array. 'peak2rms' builtin function of matlab will give an err...

4 maanden ago | 0