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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 1

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

etwa 3 Jahre vor | 1

| akzeptiert

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

etwa 3 Jahre vor | 1

| akzeptiert

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 1

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 1

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

etwa 3 Jahre vor | 0

Beantwortet
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 %...

etwa 3 Jahre vor | 0

| akzeptiert

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

etwa 3 Jahre vor | 0

Beantwortet
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://...

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 1

Beantwortet
One-row PNG files
This was a bug in R2010a - R2012a https://www.mathworks.com/support/bugreports/details/822019

etwa 3 Jahre vor | 0

| akzeptiert

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

Mehr laden