Réponse apportée
Colormap with different color transition
If you want to have a color table with multiple breakpoints, It's easier to just use interp1(). % new color table length nco...

presque 3 ans il y a | 0

Réponse apportée
How to reconstruct a corrupted image?
You can start by cleaning up a large part of the work like so: inpict = imread('https://www.mathworks.com/matlabcentral/answers...

presque 3 ans il y a | 0

Réponse apportée
I want to rounding selected data with Looping and If else
It's not really clear what the desired conditions are. If what you want is to constrain values to the interval [0 10], you ca...

presque 3 ans il y a | 1

Réponse apportée
How to apply Gaussian blur to a specific area (oval) in an image?
ideally, you'd do this during composition instead of afterwards. Doing it afterwards is double the work. Here is one example ...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
While Downsampling 4:4:4 YCbCr image to 4:2:0 using imresize inbuilt function should we scale it by 0.5 or 0.25
Let me preface this answer by saying that I am not familiar with the conventions used for various file encodings. How exactly t...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
convert grayscale image into RGB
OP's code example is remarkably correct, but for one likely problem. The likelihood of a JPG image being a single channel I im...

presque 3 ans il y a | 0

Réponse apportée
i am converting a RGB image to ycbcr image for processing. but when i try to convert the ycbcr image back to RGB image there is an error in the original image what should i do to remove or altease furthur reduce the image?
For a start, we can clean this up. RGB = imread('board.tif'); % read image % converting RGB image to YCbCr color space yc...

presque 3 ans il y a | 0

Réponse apportée
increasing gray shades of image display
Shade: a pure color mixed with black. Increase: to become greater in quantity or value. Gray: any color of neutral hue betwee...

presque 3 ans il y a | 0

Réponse apportée
Removing Text/watermark from Open-Source Image
Let's start from a particular nominal solution and work backwards. Let's say we had some information about the composition whic...

presque 3 ans il y a | 0

Réponse apportée
how can i read or open a .hdr file using Matlab?
This is exactly what happens when you name your file image.m, shadowing the built-in image.m necessary for displaying images. U...

presque 3 ans il y a | 0

Réponse apportée
Issue with Y, Cb and Cr image. Only Y (luma) image looks red, Cb looks green and Cr looks red. But converting the YCbCr image using ycbcr2rgb, give original image
This answer shows one way to represent the YCbCr channels in pseudocolor, https://www.mathworks.com/matlabcentral/answers/5802...

presque 3 ans il y a | 1

Réponse apportée
How to multiply mask matrix and original image matrix?
The problem with not getting the expected results is that unless it's clear what you're expecting, nobody will know. I'm going ...

presque 3 ans il y a | 0

Réponse apportée
How to use median filter to remove salt and pepper noise?
See the examples and links here: https://www.mathworks.com/matlabcentral/answers/1895235-hello-i-need-you-to-help-me-with-an-ex...

presque 3 ans il y a | 0

Réponse apportée
Gaussian Filter without using any special function
Here is one example. % specify input parameter as a scalar or 2-element vector sigma = [4 5]; % [y x] % expand if necessary...

presque 3 ans il y a | 0

Réponse apportée
How can I sketch the result of morphological operation: (A ⊖ SE1) ⊕ SE2 ?
This is yet another one of those homework questions that could have been simple, but in the process of trying to make it simple,...

presque 3 ans il y a | 0

Réponse apportée
To apply a median filter on a coloured image, why do I have to use 'medfilt2' on each channel separately rather than use 'medfilt3'?
When calling medfilt3() without any window size argument, the default 3x3x3 window is used. Besides the fact that a 3x3 window ...

presque 3 ans il y a | 0

Réponse apportée
how to blend an image that is a non-rectangular mask with a background image?
A big part of the confusion here is from attempting to use imadd() and immultiply() as image blending tools when they are not ...

presque 3 ans il y a | 0

Réponse apportée
SWIRL IMAGE CODE, How can I change the swirl direction?
This is how I'd do it. This will work on grayscale or RGB images. % parameters center = [0.25 0.25]; % in normalized image ...

presque 3 ans il y a | 0

Réponse apportée
In Color-Based Segmentation Using the L*a*b* Color Space how regioncoordinates has been calculated?
See the answer here. https://www.mathworks.com/matlabcentral/answers/224698-help-in-understanding-color-based-segmentation-usin...

presque 3 ans il y a | 0

Réponse apportée
Help in understanding Color-Based Segmentation Using the L*a*b* Color Space Example
The line: load regioncoordinates; loads the file regioncoordinates.mat. This file contains a variable called region_coordinat...

presque 3 ans il y a | 0

Réponse apportée
section divider or %% is not working
It's also worth noting that having open scopes, imbalanced parentheses/brackets, or other gross errors can break the handling of...

presque 3 ans il y a | 1

Réponse apportée
rgb2xyz whitepoint illuminant 'e' bug
While the rgb2xyz() docs do list the E illuminant in R2015b, it wasn't actually added until sometime after R2015b. I don't know ...

presque 3 ans il y a | 0

Réponse apportée
How to get pixel value around objects in greyscale image?
I have no idea what's going on with the filtering, but considering this filtim = ~filtim % invert the mask filtim = 1-filtim %...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Use brightest pixels for combined image with AlphaBlender
You could use the binary masking option to combine two single-channel images. % test images are unit ramps x = linspace(0,1,25...

presque 3 ans il y a | 0

Réponse apportée
Can this plot be recreated in matlab?
There are no built-in plotting tools that perform 2D colormapping. You'll have to do it yourself. See this thread. https://...

presque 3 ans il y a | 0

Réponse apportée
Sir, I wish to get matlab code for image enhancement by multi-scale retinex method. Please help me.Here I am attach a paper related to this.
This FEX submission is probably of interest: https://www.mathworks.com/matlabcentral/fileexchange/71386-multiscale-retinex Thi...

presque 3 ans il y a | 0

Réponse apportée
Color space YCBCR to RGB problem: resulting image is PINK
Without knowing what processing was being performed, it's hard to say exactly what's going on. Even having the original image w...

presque 3 ans il y a | 1

Réponse apportée
One-row PNG files
This was a bug in R2010a - R2012a https://www.mathworks.com/support/bugreports/details/822019

presque 3 ans il y a | 0

| A accepté

Réponse apportée
what is matlab code for histogram equalization of colored(jpg image)
I'm sure there are plenty of other answers, but these were ones I had bookmarked. https://www.mathworks.com/matlabcentral/answe...

presque 3 ans il y a | 0

Réponse apportée
Image Enhancement with imfilter
IPT imfilter() is a linear spatial filter (convolution or correlation). On the other hand, histeq() applies a nonlinear value t...

presque 3 ans il y a | 0

Charger plus