답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 1

답변 있음
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 ...

대략 3년 전 | 1

| 수락됨

답변 있음
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...

대략 3년 전 | 1

| 수락됨

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 1

답변 있음
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 ...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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,...

대략 3년 전 | 0

답변 있음
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 ...

대략 3년 전 | 0

답변 있음
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 ...

대략 3년 전 | 0

답변 있음
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 ...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 1

답변 있음
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 ...

대략 3년 전 | 0

답변 있음
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 %...

대략 3년 전 | 0

| 수락됨

답변 있음
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...

대략 3년 전 | 0

답변 있음
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://...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 1

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

대략 3년 전 | 0

| 수락됨

답변 있음
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...

대략 3년 전 | 0

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

대략 3년 전 | 0

더 보기