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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

| accettato

Risposto
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);

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

| accettato

Risposto
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); ...

circa 4 anni fa | 0

| accettato

Risposto
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));

circa 4 anni fa | 0

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 1

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 1

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

circa 4 anni fa | 2

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

| accettato

Risposto
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?

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 0

Carica altro