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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 1

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

Respondida
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])

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 2

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

más de 2 años hace | 0

Respondida
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'); ...

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

Cargar más