Answered
How to segment an array to different parts?
a = [2,20,2,10,10,10,10,9,10,3,18,3] segment_data=cell(1,length(a)/3) l=1; for i=1:3:length(a)-3 segment_data{l}=a(i:i+2...

7 years ago | 0

Answered
could anyone help me to solve the issue
result=compose('%1.4f',A) compose here

7 years ago | 0

Answered
problem in matlab code
A= B;

7 years ago | 0

Answered
How do I draw the scatterplot of an RGB image?
image_test=rgb2gray(imread('2.png')); % Change the image [rows colm]=size(image_test); original_data=zeros(1,56512); diag_dat...

7 years ago | 1

| accepted

Answered
how can i find edges in an image?
i want to implement edge detecting methods like canny,fuzzy and sobel techniques.how can i do that?is there any code for that? ...

7 years ago | 0

Answered
how to draw histogram of an RGB image
image_test=imread('Baboon.jpeg'); red_plane=image_test(:,:,1); green_plane=image_test(:,:,2); blue_plane=image_test(:,:,3); ...

7 years ago | 4

| accepted

Answered
convert an image into binary matrix and visualize the coordinate of each pizel
To visulise the binary use it BW = imbinarize(I) or I = imread('origianl_picture.jpg'); BW = imbinarize(I); imshow(BW) 2n...

7 years ago | 0

Answered
how to save looping data ?
data_file=cell(1,nn); for jj= 1:nn; %...... [data, txt,all] = xlsread(FILE_NAME); %...........^ change this variable name...

7 years ago | 0

Answered
How to plot the graphs when b2 varies from 0 to 2 in the code I attached below?
"How to plot the graphs when b2 varies from 0 to 2 in the code I attached below?" Function file: function v = funtryp(t,y,Z,b2...

7 years ago | 1

| accepted

Answered
how to save feature vector of SURF for each image and train, test it for classification to svm?
"output for image 1: 322*64 output for image 2: 593*64 and so on the value*64 changes for each image. can anyone please help m...

7 years ago | 0

| accepted

Answered
How to draw this graph using matlab code ignore the labeling
t=1:.1:8; y=log(t); y(t>5)=0; plot(t,y,'b','linewidth',1); set(gca,'YTickLabel',[]); xlabel('Energy'); ylabel('D(E)'); %Yo...

7 years ago | 0

| accepted

Answered
Unfold 3D I x J x K to 2D I x JK
"I am trying to unfold a matrix in the form I x J x K to I x JK" May be: Are you looking for this one? [R C D]=size(M); X=res...

7 years ago | 0

| accepted

Answered
How to mask the inner region of this Binary Image? Can anyone give some idea?
I would suggest you the slightly improved on thresholding (segmentation results), which leads great help to disconnect the black...

7 years ago | 0

| accepted

Answered
combine the 2 binary images
Z=M & N; %Preferred or Z=and(M,N);

7 years ago | 0

| accepted

Answered
combine the 2 images
M1=imread('M.jpg'); N1=imread('N.jpg'); result=imfuse(M1,N1); Please note those white area represents having pixel with maxim...

7 years ago | 2

| accepted

Answered
I get index error, but the correct result. How can I avoid this?
"I am trying to solve this Cody problem where I need to remove all rows that contain NaN-s". A =[1 3 6 NaN 3 NaN]' idx=find(i...

7 years ago | 1

| accepted

Answered
could anyone help me to solve the error in the following code
"I want to display first two maximum vaues in each column" out=sort(A(:,:),'descend'); data=out(1:2,:) Result: data = ...

7 years ago | 3

Answered
How to split/reduce dimension of a variable
Lets var is the main variable- var1=var(:,:,1,:); var2=var(:,:,2,:);

7 years ago | 1

| accepted

Answered
Undefined function 'FFGrab' for input arguments of type 'char'.
Check here file is avalible, you must state the FFGrab.

7 years ago | 1

Answered
loop for image encryption gives error
for j=1:4:Y-3

7 years ago | 0

| accepted

Answered
Matlab codes to find MSE of many images against one
MSE_data=[]; PSNR_data=[];; Images=dir('C:\Complete_path\Input_folder_name\*.png'); %................Input Images, Note on .f...

7 years ago | 1

| accepted

Answered
Calculate length of white pixels in binary image
Lets, image_bw is the binary image.(Please not your enclosed image have white boundary, I ignored that) se=strel('disk',4); r...

7 years ago | 0

Answered
How to save Histogram of Multiple Images
Images=dir('D:\DIAH\[MATLAB]cv1-fingerspelling-recognition-master\cv1-fingerspelling-recognition-master\imagesss*.jpg'); %Databa...

7 years ago | 0

Answered
How to count image binary
Let's say input binary image is image_bw result=bwareafilt(image_bw,1,'Largest'); count_w=sum(result); fprintf('The white pix...

7 years ago | 1

| accepted

Answered
how to load Image Datastore and make them of equal size
Images=dir('C:\complete_path\folder_name\*.png'); %Database Image folder %...........................................^ note on ...

7 years ago | 0

Answered
How to calculate threshold for matrix in Matlab?
j define? abs(a(i)-a(j))> z %..........^ a5? z=sum(a5)/m; %.....^

7 years ago | 0

Answered
How to remove small grid holes from image while keeping larger, more intense light?
Lets say test_image is the input gray image. thresholdValue=80; %Decide value as per desired result segImage=test_image<=thre...

7 years ago | 1

| accepted

Answered
How to crop circular area and measure the ratio of black and white from the binarized image?
Measure the ratio of black and white from the binarized image? Here bw_image is a input binary image. [rows colm]=size(bw_imag...

7 years ago | 0

| accepted

Answered
how to read a folder of images in matlab and how Labels the images like human with bag and with out
i want to read the multiples images in the folder? how to read a folder of images in matlab? Images=dir('C:\complete_folder_pa...

7 years ago | 0

| accepted

Answered
How to concatenate two feature vectors?
How to concatenate two feature vectors? Say a and b are two vectors result=[a;b] % If a and b have same column number or ...

7 years ago | 1

| accepted

Load more