Answered
Save location not working
I guess this variable save_var{i} in the 4th last line of your code is returning a cell. Whereas, the function save expects a st...

ongeveer 4 jaar ago | 0

| accepted

Answered
save the output figure as binary image
The below code will save the figure as an image in the worksapce. clc; close all; rectangle('Position',[0 0 539 539], 'FaceCol...

ongeveer 4 jaar ago | 0

| accepted

Answered
can't print pictures
It seems the paths below "C:\Users\panchaopang\Documents\MATLAB\" "C:\Users\panchaopang\Documents\mtex-5.2.5\mtex-5.2.5\geome...

ongeveer 4 jaar ago | 0

| accepted

Answered
Create mask over image
You should not use the variable name input as it shadows a MATLAB built-in function. Use the example code below. close all; clc...

ongeveer 4 jaar ago | 0

| accepted

Answered
Image Saving to Variable in Workspace (NOT imwrite)
Use rescale, you can also specify the lower and upper range of scaling. LLLL = rescale(sp_possible_quadtree);

ongeveer 4 jaar ago | 0

| accepted

Answered
Add 2d plots along a 3d helix
Use this close all; clc; r=93.36; theta=0:pi/50:10*pi; %Trajectory in x-direction x=-r.*cos(theta); %Trajectory in y-direc...

ongeveer 4 jaar ago | 0

| accepted

Answered
Removing a TEX arrow symbol from String
Your code is almost correct but, before erasing you need to check whether the h.String contains \leftarrow or \rightarrow. Use t...

ongeveer 4 jaar ago | 0

| accepted

Answered
threshold images and save as jpeg in loop
Use imwrite instead of save. for i = 1:numel(I) % Obtain red matrix of image filename = fullfile(path, I(i).name); ...

ongeveer 4 jaar ago | 0

| accepted

Answered
How to open a dialog box when saving multiple figures?
Here is an example close all; clc; H = figure; surf(peaks); filter = {'*.fig'}; savefig(H, uiputfile(filter));

ongeveer 4 jaar ago | 0

Answered
3D scatter with 2 different data sets as different colours
Firstly your PLMS.xlsx file has some NaN values. Moreover, the variable x is identical with xx, y is identical with yy, and so o...

ongeveer 4 jaar ago | 0

| accepted

Answered
Go through the table with a loop and change values
ds = record ("xlsfile", "dataset.csv"); data = dataset2table(ds); [rows, cols] = size(data); newData = data; for i = 1: ro...

ongeveer 4 jaar ago | 1

Answered
Recommended Toolboxes to recognize and classify images using neural networks
In general you will be needing Image Processing Toolbox, Computer Vision Toolbox, Statistics and Machine Learning Toolbox and De...

ongeveer 4 jaar ago | 0

Answered
subscript in ylabels of heatmap
Starting in R2019a, heatmaps interpret text using TeX markup instead of displaying the literal characters. Therefore it seems yo...

ongeveer 4 jaar ago | 0

| accepted

Answered
How to filter out NaNs on images ?
See if the below code works clc; close all; % Load data load Background.mat load lat.mat load long.mat load overlay_map.ma...

ongeveer 4 jaar ago | 0

| accepted

Answered
while executing my code there is no error but i did not get any output
You are not getting any output because you are trying to display the vector l_p as an image. It seems you are trying to 2-D calc...

ongeveer 4 jaar ago | 0

| accepted

Answered
Quantization HSV Space by assigning 8 level each to hue, saturation and value to give a quantized HSV space with 8x8x8=512 histogram bins
Here is an example of quantization of the HSV colorspace clc; close all; rgbImage = imread('peppers.png'); hsvImage = rgb2hsv...

ongeveer 4 jaar ago | 0

| accepted

Answered
problem using medfilt2
Your Az vector is mainly concentrated around 169, therefore normal median filtering destroys the sudden peaks. Using Padding opt...

ongeveer 4 jaar ago | 1

| accepted

Answered
I want to multiply two matrices by sliding the smaller matrix on the larger one through neighborhood operations
It seems the functon conv2 does what you are trying to achieve. THETA_F1 = randi(512, 642); % Demp data THETA_F2 = randi(245, ...

ongeveer 4 jaar ago | 0

Answered
Cropping out the image/generating image the same size as the matrix it comes from
Question 1: Saving and resizing your matrix % Resizing image matrix yourMatrixResized = imresize(yourMatrix, [512, 512], 'bicu...

ongeveer 4 jaar ago | 0

| accepted

Answered
How can I draw on two ROI to create a mask on the same image?
You can easily combine those two masks using the imadd() function. Refer the code below close all ; clc; I = imread('cameraman...

ongeveer 4 jaar ago | 1

Answered
How to use imshow in a panel?
You can create a child uiaxis for the uipanel parent and specify the uiaxis handle as parent while using imshow. frameRGB = rea...

ongeveer 4 jaar ago | 2

Answered
PSNR Calculation without using function
You are getting 3 PSNR values because your "input.png" and "groundTruth.png" are 3 channel RGB images and your code is calculati...

ongeveer 4 jaar ago | 1

| accepted

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?',....

ongeveer 4 jaar 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...

ongeveer 4 jaar 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 ...

ongeveer 4 jaar 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) ...

ongeveer 4 jaar 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?

ongeveer 4 jaar 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...

ongeveer 4 jaar 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...

ongeveer 4 jaar ago | 1

| 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...

ongeveer 4 jaar ago | 0

Load more