Answered
Quantization HSV Space by assigning 8 level each to hue, saturation and value to give a quantized HSV space with 8x8x8=512 histogram bins
Here is an example of quantization of the HSV colorspace clc; close all; rgbImage = imread('peppers.png'); hsvImage = rgb2hsv...

5 mesi ago | 0

| accepted

Answered
problem using medfilt2
Your Az vector is mainly concentrated around 169, therefore normal median filtering destroys the sudden peaks. Using Padding opt...

5 mesi ago | 1

| accepted

Answered
I want to multiply two matrices by sliding the smaller matrix on the larger one through neighborhood operations
It seems the functon conv2 does what you are trying to achieve. THETA_F1 = randi(512, 642); % Demp data THETA_F2 = randi(245, ...

5 mesi ago | 0

Answered
Cropping out the image/generating image the same size as the matrix it comes from
Question 1: Saving and resizing your matrix % Resizing image matrix yourMatrixResized = imresize(yourMatrix, [512, 512], 'bicu...

5 mesi ago | 0

| accepted

Answered
How can I draw on two ROI to create a mask on the same image?
You can easily combine those two masks using the imadd() function. Refer the code below close all ; clc; I = imread('cameraman...

5 mesi ago | 0

Answered
How to use imshow in a panel?
You can create a child uiaxis for the uipanel parent and specify the uiaxis handle as parent while using imshow. frameRGB = rea...

5 mesi ago | 1

Answered
PSNR Calculation without using function
You are getting 3 PSNR values because your "input.png" and "groundTruth.png" are 3 channel RGB images and your code is calculati...

5 mesi ago | 1

| accepted

Answered
How to animate the plot back and forth for unlimited cycles?
Define a figure CloseRequestFcn like below function my_closereq(src, callbackdata) selection = questdlg('Close This Figure?',....

5 mesi ago | 0

| accepted

Answered
Histogram-based RGB segmentation
I am not sure about which algorithm you are trying to implement but below is an example of histogram based segmentation using Ot...

5 mesi ago | 0

| accepted

Answered
How to load multiple excel files with multiple excel sheets and store it in matlab faster?
If you have Parallel Computing Toolbox you can use parfor loop instead of normal for loop. That might decrease the time to read ...

5 mesi ago | 0

Answered
Manipulation of RGB matrices possibly using NaN values?
You can achieve this via ROI processing and defining a function handle. See the demo code below. (Download the attached image) ...

5 mesi ago | 0

| accepted

Answered
help me to Showing the Cloud !
Remove these lines before function defination. clear clc Also can you post your code instead of attaching a screenshot?

5 mesi ago | 1

| accepted

Answered
What is the difference between "dwt2()" and "wavedec2()"?
Basically dwt2() applies 2-D discreet wavelet transformation on the image and provides the approximation and detail coefficients...

5 mesi ago | 0

| accepted

Answered
Controlling the size of legend markers separately from the font size of legend labels
A new MATLAB graphics system is introduced from MATLAB R2014b onwards. Your code will work for the older system I guess. Use th...

5 mesi ago | 0

| accepted

Answered
Connect objects binary image
Hi, try the code below and see if it gives the expected output. (Download the attached image) a = rgb2gray(imread('BW_img_marke...

5 mesi ago | 0

Answered
assign particular colour to 2nd bar of the bar plot
Hi, use the code below. clc; close all; % Define your 4-element matrix y = [25 75 100 125]; % Plot bar graph b = bar(y); %...

5 mesi ago | 0

Answered
table on workspace isn't recognized as table
As far as my knowledge goes MATLAB does not support Blank Space in variable names. It can only contain letters, numbers or under...

5 mesi ago | 0

Answered
How do I select only 100 images in a folder of 200 images, according to a list of 100 different names ?
Assuming you have the required image names in a text file. Refer the code below. myFolder = 'putYourFolderPathHere'; filePatte...

5 mesi ago | 0

| accepted

Answered
Sliding window search and Entropy value for each window
Hi, refer the code below. It calculates entropy values for different (16x16) window of an image and displays them as a heatmap. ...

5 mesi ago | 1

Answered
feature extraction from retinal images
Have a look at these functions detectBRISKFeatures, detectFASTFeatures, detectHarrisFeatures, detectKAZEFeatures, detectMinEig...

5 mesi ago | 0

Answered
Using imagesc and scatter together
Assuming you want to display one scatter plot over one imagesc graph both having different colormap and colorbar. Give the below...

5 mesi ago | 0

Answered
Connect edges in binary image
After binarizing the image you can use the function bwmorph() to make a bridge between the white lines present in the image. Af...

5 mesi ago | 2

Answered
changing exponential value into float
Hi Sajitha, Try the code below. clc; max_Ar = max(Ar); min_Ar = min(Ar); range = (max_Ar - min_Ar) + eps(max_Ar - min_Ar); ...

5 mesi ago | 0

Answered
for loop in an array to substract the values of the array and find a specific value
Try this. for k = 2:length(I) x = I(k) - I(k-1); if x == 0.55 disp('Here'); else disp 'Not here' ...

5 mesi ago | 0

Answered
Apply mask to RGB image. If mask is RGB as well do i have to seperet the mask to its channels too?
Hi, refer the code below. function [ R, B, G ] = Split_Image() input = im2double(imread('transport_clean.png')); figu...

5 mesi ago | 0

| accepted

Answered
Write a function three positive integer scalar inputs year, month, day.
Refer the code below. Hope this helps! function valid = validateDate(year, month, day) year1 = year/4; leap1 = year1 ...

5 mesi ago | 0

Answered
How to use built-in entropy function
Hi, Can you attach your "output_image" ? So that we can reproduce the issue. Otherwise you can try the code below. E = entropy...

5 mesi ago | 0

| accepted

Answered
image processing toolbox in R2017b version
Hi, type the command ver to get a list of all installed toolboxes. Check the list to find whether The Image Processing Toolbox i...

5 mesi ago | 0

Answered
Overlay 2 masked RGB images
Hi, I suspect that your .png files are (M x N x 3) RGB images. Therefore you are getting that error while using cat. Since yo...

5 mesi ago | 1

Answered
extraction of part of image
Hi Smruti, the below code might help as you want "to extract the part of original image based on pixel values the output will be...

5 mesi ago | 0

| accepted

Load more