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 years 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 years 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 years 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 years ago | 1

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

4 years 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 years ago | 1

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 years 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 years 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 years 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 years 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 years ago | 1

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 years 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 years 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 years 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 years 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 years 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 years ago | 1

| 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 years 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 years 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 years ago | 1

| 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 years 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 years ago | 0

Answered
I would like to do geobubble plot over Indian landmass. I follow the following link to create my bubble plot:https://in.mathworks.com/help/matlab/ref/geobubble.html. I would like to do the same plot over the shape file of world and India.
Hi, refer the code below which plots geobubble over india shape file (use the attached zip file for the .shp files). clear all;...

4 years ago | 0

| accepted

Answered
How to remove markers of a plot
HI, you can use the Marker Name-Value Pair of the function plot to specify the marker type. If you specify 'none', then no marke...

4 years ago | 0

Answered
Denoising and contranst enhancement
Hi, you can use Neighborhood size input argument of the function medfilt2 to specify the strength of the filtering. Also, you ca...

4 years ago | 0

Answered
Why do I received errors in MATLAB App Designer when I exported it to standalone application? (MATLAB 2017b)
Hi, whenever you are packaging your app to create a standalone desktop app, you need to put all the required files in the "Files...

4 years ago | 1

| accepted

Answered
splash screen for compiled application is not hard-coded in the app and can be modified
Hi Luca, it seems there's no straightforward way to change this behavior.

4 years ago | 0

Answered
3-D Scatter save to vector file to edit in Adobe Illustrator
Hi, you can try saving it in EPS format using the painters renderer to get a true vector file. print('YourEPSFile','-depsc','-p...

4 years ago | 2

Answered
Histogram Data out of axes boundries
Hi, you can use axis limits to extend the plot to the edges of the axes. Refer the code below. %... GUI Elements axes_img2 = a...

4 years ago | 0

| accepted

Answered
One common xlabel and ylabel for multiple subplots
Hi, the example code below adds one common xlabel and ylabel to a figure containing multiple subplots, irrespective of the numbe...

4 years ago | 18

| accepted

Load more