Risposto
Write function to convert decimal to binary
Meh. I'm going to ignore negative numbers for now. The question doesn't seem to actually mention it, though I strongly suspect...

oltre 2 anni fa | 0

Risposto
Extract shapes from photos as graphs using MATLAB and express them as functions
This isn't an answer to the curve fitting problem, but first things first. Fix the image so you're not trying to fit a curve to...

oltre 2 anni fa | 0

| accettato

Risposto
how to convert color image to gray in app designer in different windows without using imread and rgb2gray?
EDIT AGAIN: better generalization and broader support for all the oddball things I've included a number of different BMP ima...

oltre 2 anni fa | 0

Risposto
How should the output look like of the MSE of a median filtered image?
The error image is as expected for the thing you did, but I don't know why you're doing it. You're comparing the filtered image...

oltre 2 anni fa | 0

Risposto
How do you apply a 3x3 median filter on an image that is noisy (salt and pepper) , and what is it supposed to do?
This is the third time you've asked this question. Why? https://www.mathworks.com/matlabcentral/answers/2055004-i-am-not-sure-...

oltre 2 anni fa | 0

Risposto
How to apply low pass filter on an image
You can either use imfilter() in conjunction with fspecial() to generate the filter kernel, or in the specific case that you wan...

oltre 2 anni fa | 0

Risposto
I am not sure if my output is correct regarding median filters.
Line 2 creates an anonymous function that calculates the median of a given numeric array. It's what will process the image cont...

oltre 2 anni fa | 0

Risposto
I have a salt and pepper picture, and I need to use a median filter to remove the noise and filter it.
This answer links to demos by both ImageAnalyst and myself. The demos cover fixed-window filters, adaptive filters, and conside...

oltre 2 anni fa | 0

Risposto
how to averging the average the images in the folder
There are plenty of examples of how to do this already on the forum. Here's another. % some example images in the demo directo...

oltre 2 anni fa | 0

Risposto
enhances image by min max values
The reflexive answer would be: inpict = imread('pout.tif'); % uint8 outpict = mat2gray(inpict); % unit-scale double imshow([i...

oltre 2 anni fa | 0

Risposto
Extract data from the image
Why would you save an image by embedding it in a figure? Creating completely pointless obstacles is a great way to make sure no...

oltre 2 anni fa | 0

Risposto
How to extract data from PDF that contains a plot and a table
fname = '35517.001.pdf'; str = extractFileText(fname); % get the main table T = extractBetween(str,'Dmax','AVERAGE'); T = ...

oltre 2 anni fa | 0

Risposto
Change variable name across code lines
This behavior might have changed in the newer versions, but I think I have a way that might work. If you look for a place whe...

oltre 2 anni fa | 0

| accettato

Risposto
I need correction for following simple code of histogram equalization for the image.
It's sunday, so it's time to exercise boredom on dead questions. This is one of those questions where it's clear that the given...

oltre 2 anni fa | 0

Risposto
uint8 vs int8 in imshow
Imshow() is odd in that it does actually support int8 images. It seems most other IPT tools which are class-sensitive don't. A...

oltre 2 anni fa | 0

Risposto
Cyclic colormap for visualizing angles
Here's a comparison, for what it's worth. I'm using multiple FEX tools here, so obviously this won't run if you don't go get th...

oltre 2 anni fa | 0

Risposto
How to convert image to binary text file?
The error is probably because you don't have write permissions to whatever directory you're trying to write to. You'll have to ...

oltre 2 anni fa | 0

Risposto
MATLAB Answers Wish-list #6 (and bug reports)
[looks up] I know this is a known desire, but it sure would be nice if editor-level users could move comments/answers between...

oltre 2 anni fa | 0

Risposto
How to fade contour lines without contour lines?
Not that this was ever answerable, but this replicates the given figure and provides two colorbars. I have no idea what "fading...

oltre 2 anni fa | 1

Risposto
CANNOT WRITE ON APP DESIGNER 2023a
This is a known bug. https://www.mathworks.com/support/bugreports/1797911 Here is a list of threads describing problems asso...

oltre 2 anni fa | 0

Risposto
How to plot two contour filled plots of two different datasets using different colormap and caxis range in the same axis?
I just threw together two different examples using the ways I mentioned. Neither is ideal. Manipulating contour() objects is j...

oltre 2 anni fa | 0

| accettato

Risposto
When calling a function or indexing a variable, use parentheses.
The error message tells you what to do. diag() is a function; [1 2 3] is a vector, so: diag([1 2 3])

oltre 2 anni fa | 0

Risposto
Changing orientation of 3D medical PET MRI images
What's wrong with just using shiftdim(), permute(), flip(), rot90() as needed?

oltre 2 anni fa | 0

Risposto
Help with error arrays have incompatible sizes
Don't use == to do string/char comparison. Use strcmp/strcmpi, or better yet, just replace the whole if/elseif chain with a swi...

oltre 2 anni fa | 0

Risposto
IHS triangular model for RGB image
There are a few things wrong here. First, the images are not RGB. One of them is indexed color, and the other is simply a gr...

oltre 2 anni fa | 0

Risposto
I want to make airfoil on Matlab..please tell me code of this
Any old airfoil, eh? Start by drawing any plane curve. x = [89 4 4 3 3 4 4 12 12 96 96 89 89 88 88 88 88 96 NaN 58 49 49 45 45...

oltre 2 anni fa | 2

Risposto
How to change the color intensity of an image?
If you want to adjust the red and blue components as the question asked, you can do that easily enough. inpict = imread('pepp...

oltre 2 anni fa | 0

Risposto
Find the average of two images
% all GIF files are indexed color % you must read the maps [im1 map1] = imread('Im1.GIF'); [im2 map2] = imread('Im2.GIF'); ...

oltre 2 anni fa | 0

| accettato

Risposto
Multiple image thresholding and measure distance
Nothing is going to be able to automatically read the background scale from an image like that. It's also not exactly square or...

oltre 2 anni fa | 0

Carica altro