Answered
how to read numbers of images and save the change
Images=dir('C:\Complete_path\hand_2101\*.png'); %.............................^^ Folder Name, where Images are there, note on p...

7 years ago | 1

| accepted

Answered
Manipulate binary element in matrix
bin_num=str2num(A); bin_array=num2str(bin_num)-'0'; bits_selection=bin_array(5:8) or bin_data=A-'0' bits_selection=bin_d...

7 years ago | 1

| accepted

Answered
How to prevent line break after blank space when plotting text using annotation textbox?
x = 'The blank spaces break line'; figure(1) annotation('textbox',[0.1 0.1 .35 .1],'String',x); %....................^^ Dimen...

7 years ago | 2

| accepted

Answered
Calculating binary progression using for loop
num=1064; j=1;r=[]; bin_num=str2num(dec2bin(num)); num_array=num2str(bin_num)-'0'; for i=length(num_array):-1:1 if num_...

7 years ago | 1

Answered
Сomparison of columns in the matrix
No need loop and if else col=[20 21 22 20 78 22 23 25 55 108 22 33 22]; idx=find(condition...); %Condition like col<50 or as p...

7 years ago | 0

Answered
How to segemnt gray scale image instantlly without any data set training ?
Do thresholding, or other unsupervised approaches. It would be more clear, if you share sample image with region of interest s...

7 years ago | 0

Answered
Maximum Deviation in image proccessing
The Higher the Maximum Deviation value, the better the encryption algorithm, read the detail here

7 years ago | 0

Answered
Topograph is not appearing
Already I have answered the same question, please do confirm, is that topoplot custom function. https://in.mathworks.com/matlab...

7 years ago | 0

Answered
Apply a formula to all the pixels in image
Here x is the input gray image, and y is the resultant image based on the equation. y=a*x.^2+b*x+c; Example x=imread('2.png')...

7 years ago | 0

| accepted

Answered
PSNR and MSE in image encryption
PSNR depends on MSE (Inversly propotional) If High, it would better, request you to read this wiki page.

7 years ago | 0

| accepted

Answered
Save output picture of Histogram code
Considering, 'ghgvhh.png' image is a gray image, if not do conversion. I=imread('ghgvhh.png'); imhist(I); saveas(gcf,'hist_fi...

7 years ago | 1

| accepted

Answered
Imfindcircles not finding circles in a cropped img (but it does find it in the original img)
You are choosing the wrong radius range, I have tried with both image, main and crop. I undestand, crop doesnot change the siz...

7 years ago | 0

Answered
Using logical operator and maintaining array size
Why logical? its simple multiplication. >> x.*y ans = 0 0 6 6 8

7 years ago | 0

| accepted

Answered
Topoplot function is undefined...
Topoplot function is custom function (user defined), not the Matlab inbuilt function. May be you are looking for this Topoplot f...

7 years ago | 0

Answered
How can I pass from 2D matrix to 3D matrix?
Pass the 2D matrix to 3D as plane (2D insert to 3D), you can do that using Multidimentional Arrays. Is this your are looking fo...

7 years ago | 0

| accepted

Answered
Floating bar with secondary Axis
Plot bar graph horizontally barh

7 years ago | 0

Answered
Coloring in plots,legend
mu = [25 45]; sigma = [20 10; 10 50]; x1 = 0:1:50; x2 = 0:1:180; [X1,X2] = meshgrid(x1,x2); X = [X1(:) X2(:)]; y = mvnpdf(...

7 years ago | 0

| accepted

Answered
Could anyone help me how to plot the graph for more than one variable.
x=[0.1 1 2 3 4] y=[0.05 0.06 0.06 0.06 0.06 ] z=[0.14 0.18 0.18 0.18 0.18] plot(x,y,'-*'); hold on; plot(x,z,'-^')

7 years ago | 0

| accepted

Answered
How can I use subplot to plot three signals in the same figure?
Same figure window use subplot? subplot(311),plot(signal A) subplot(312),plot(signal B) subplot(313),plot(signal C)

7 years ago | 0

| accepted

Answered
How can I use .mat file as new variable?
new_var=load('DCS_data.mat')

7 years ago | 0

Answered
How to code below mathematical formula?
x= %define x value range n= %define n threshold= %define threshold value fx=x; idx1=find(fx>=threshold); fx(idx)=...

7 years ago | 1

Answered
File ' .jpg' does not exist
Ensure that image file in the last folder name as shown in directory path.

7 years ago | 2

| accepted

Answered
Ant Lion Algorithm for data clustering
Look on this file exchange file

7 years ago | 0

Answered
how can i convert rgb to grayscale after browes image?
Please change the image variable name to another to avoid conflict issue. rgb2gray(image1) ?? [filename pathname] = uigetfile...

7 years ago | 0

| accepted

Answered
How Can I plot data 1 dimension
plot(y,x) bar or stem(y,x)

7 years ago | 0

Answered
Reading seven segment display with OCR command
One Suggestion: connect the disconneted pixels, then apply the OCR You can do that in multiple ways, imdilate , choose proper s...

7 years ago | 0

| accepted

Answered
How can I Resolve this error?
Its clearly says "Undefined function 'fcmthresh' ....." To run the code you must have the following function in your current ...

7 years ago | 0

| accepted

Answered
How to Slide a 3X3 window across a pixel of the image in matlab.
Block processing? conv2 or imfilter all are sliding window concept.

7 years ago | 1

| accepted

Answered
how to divide an image diagonally into two equal part when the size of of row and column are not equal?(when its not a square image)
im1=rgb2gray(imread('2.png')); [rows colm]=size(im1); j=1; for i=1:rows im1(i,1:j)=1; j=j+1; end imshow...

7 years ago | 0

| accepted

Answered
Detecting concavity within regions.
The morphological approach might works. im=im2bw(rgb2gray(imread('test_image_cheng.png'))); se=strel('disk',18); %..............

7 years ago | 1

Load more