Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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-...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

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

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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 = ...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
I want to compress large tiff file (1.5gb) to atleast 100mb or less to the same file type (tiff). I need to maintain the original resolution and metadata for co-ordinate points. Is there any built-in matlab function that i can use to solve this?
We can't afford to change depth, resolution, or use lossy compression; nor can we discard any extraneous metadata. Given that, ...

plus de 2 ans il y a | 0

Réponse apportée
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 ...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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])

plus de 2 ans il y a | 0

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

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 2

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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'); ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Charger plus