Answered
How to animate the plot back and forth for unlimited cycles?
Define a figure CloseRequestFcn like below function my_closereq(src, callbackdata) selection = questdlg('Close This Figure?',....

4 months ago | 0

| accepted

Answered
Histogram-based RGB segmentation
I am not sure about which algorithm you are trying to implement but below is an example of histogram based segmentation using Ot...

4 months ago | 0

| accepted

Answered
How to load multiple excel files with multiple excel sheets and store it in matlab faster?
If you have Parallel Computing Toolbox you can use parfor loop instead of normal for loop. That might decrease the time to read ...

4 months ago | 0

Answered
Manipulation of RGB matrices possibly using NaN values?
You can achieve this via ROI processing and defining a function handle. See the demo code below. (Download the attached image) ...

4 months ago | 0

| accepted

Answered
help me to Showing the Cloud !
Remove these lines before function defination. clear clc Also can you post your code instead of attaching a screenshot?

4 months ago | 1

| accepted

Answered
What is the difference between "dwt2()" and "wavedec2()"?
Basically dwt2() applies 2-D discreet wavelet transformation on the image and provides the approximation and detail coefficients...

4 months ago | 0

| accepted

Answered
Controlling the size of legend markers separately from the font size of legend labels
A new MATLAB graphics system is introduced from MATLAB R2014b onwards. Your code will work for the older system I guess. Use th...

4 months ago | 0

| accepted

Answered
Connect objects binary image
Hi, try the code below and see if it gives the expected output. (Download the attached image) a = rgb2gray(imread('BW_img_marke...

4 months ago | 0

Answered
assign particular colour to 2nd bar of the bar plot
Hi, use the code below. clc; close all; % Define your 4-element matrix y = [25 75 100 125]; % Plot bar graph b = bar(y); %...

4 months ago | 0

Answered
table on workspace isn't recognized as table
As far as my knowledge goes MATLAB does not support Blank Space in variable names. It can only contain letters, numbers or under...

4 months ago | 0

Answered
How do I select only 100 images in a folder of 200 images, according to a list of 100 different names ?
Assuming you have the required image names in a text file. Refer the code below. myFolder = 'putYourFolderPathHere'; filePatte...

4 months ago | 0

| accepted

Answered
Sliding window search and Entropy value for each window
Hi, refer the code below. It calculates entropy values for different (16x16) window of an image and displays them as a heatmap. ...

4 months ago | 1

Answered
feature extraction from retinal images
Have a look at these functions detectBRISKFeatures, detectFASTFeatures, detectHarrisFeatures, detectKAZEFeatures, detectMinEig...

4 months ago | 0

Answered
Using imagesc and scatter together
Assuming you want to display one scatter plot over one imagesc graph both having different colormap and colorbar. Give the below...

4 months ago | 0

Answered
Connect edges in binary image
After binarizing the image you can use the function bwmorph() to make a bridge between the white lines present in the image. Af...

4 months ago | 2

Answered
changing exponential value into float
Hi Sajitha, Try the code below. clc; max_Ar = max(Ar); min_Ar = min(Ar); range = (max_Ar - min_Ar) + eps(max_Ar - min_Ar); ...

4 months ago | 0

Answered
for loop in an array to substract the values of the array and find a specific value
Try this. for k = 2:length(I) x = I(k) - I(k-1); if x == 0.55 disp('Here'); else disp 'Not here' ...

4 months ago | 0

Answered
Apply mask to RGB image. If mask is RGB as well do i have to seperet the mask to its channels too?
Hi, refer the code below. function [ R, B, G ] = Split_Image() input = im2double(imread('transport_clean.png')); figu...

4 months ago | 0

| accepted

Answered
Write a function three positive integer scalar inputs year, month, day.
Refer the code below. Hope this helps! function valid = validateDate(year, month, day) year1 = year/4; leap1 = year1 ...

4 months ago | 0

Answered
How to use built-in entropy function
Hi, Can you attach your "output_image" ? So that we can reproduce the issue. Otherwise you can try the code below. E = entropy...

4 months ago | 0

| accepted

Answered
image processing toolbox in R2017b version
Hi, type the command ver to get a list of all installed toolboxes. Check the list to find whether The Image Processing Toolbox i...

4 months ago | 0

Answered
Overlay 2 masked RGB images
Hi, I suspect that your .png files are (M x N x 3) RGB images. Therefore you are getting that error while using cat. Since yo...

4 months ago | 1

Answered
extraction of part of image
Hi Smruti, the below code might help as you want "to extract the part of original image based on pixel values the output will be...

4 months ago | 0

| accepted

Answered
storing values and comparing images
Hi Smruti, Refer the code below. % Read your image here I = imread('cameraman.tif'); % Properties of gray-level co-occurrence...

4 months ago | 0

| accepted

Answered
Creating a ROI numerically (without clicking) with impoly
I am assuming you are trying to create Polygonal ROI Non-interactively. The code below might help! % Read the image into the wo...

4 months ago | 0

| accepted

Answered
double matrix to image conversion
Hi, try the code below % Rescale your matrix in 0-255 range rescaledMatrix = rescale(yourDoubleMatrix, 0, 255); % Typecasted ...

4 months ago | 0

Answered
How to add and subtract two color images in matlab?
Hi, Sajina the function imsubtract expects two real, nonsparse, numeric or logical image. Threfore the below syntax is not right...

4 months ago | 0

| accepted

Answered
Recolouring Sentinel2 multispectral image
Hi, 3D scatter plot on your image produces a linear trend of the Red-Green-Blue channel, indicating a high correlation among the...

4 months ago | 0

| accepted

Answered
Help with VDSR example code
The function activations was introduced inside Neural Network Toolbox in MATLAB R2016a. You can type the command ver to check wh...

4 months ago | 0

Answered
how to write multiple dicom files into a folder using 'dicomwrite' command
Hi, your code is almost correct. You only need to give different name to the 'k' different DICOM files. The below code might hel...

4 months ago | 0

Load more