Answered
how can i blur an image background only
Using basic tools: % an image (RGB, uint8) inpict = imread('peppers.png'); imshow(inpict,'border','tight') % a mask which se...

4 månader ago | 0

Answered
Replication of a colorbar in MatLab
I just reconstructed it from the image. See the attached file. Z = peaks(100); imagesc(Z) colorbar colormap(orangeaqua(25...

4 månader ago | 1

| accepted

Answered
you need to use ascii code too
I fixed the improper concatenation and bad inputs to bar() Program_Pr11('text.rtf.fakeextension.txt') Of course, the bar label...

4 månader ago | 0

Answered
Binary Image from 2D plot
One way would be to use poly2mask(), but bear in mind that your coordinate space changes. That may complicate the expense of te...

4 månader ago | 0

Answered
Overlay two images using transparency
How would I do it? If the goal is to produce a raster image as output, and you don't need other corresponding graphics objects ...

4 månader ago | 0

Answered
Is there a variant of nlfilter for color images?
No, there's not. As far as I'm concerned, nlfilter() is usually not worth using. It's slow, it's crippled by its lack of edge ...

4 månader ago | 0

| accepted

Answered
imwrite result of viscircles instead of creategraphic
Viscircles() does not create raster image data. The only way to capture its output is as you say, a screenshot. I see three op...

5 månader ago | 0

| accepted

Answered
Blend Red,Blue,Green squares
See also: https://www.mathworks.com/matlabcentral/answers/1681419-overlapping-coloured-circles-rgb-circles#answer_927789 https...

5 månader ago | 0

Answered
How to generate an RGB image from a 8-bit greyscale image that has an uneven background?
I'm not sure where this is going, but maybe this is a start. % read the image inpict = imread('https://www.mathworks.com/mat...

5 månader ago | 0

| accepted

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

5 månader ago | 0

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

5 månader ago | 0

| accepted

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

| accepted

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 0

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

5 månader ago | 1

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

5 månader ago | 0

Load more