how can find altered pixels?

Technical Source
1 min readFeb 5, 2024

--

Hi Dears,

I have two images the first is the original while the second is the watermarked image. I altered some pixels in the watermarked image , then I extracted the watermark from the altered image and compared with the original wateremark using MSE , I couldnt find the exact altered pixels, also I want a way to calculate the values of False positive (FP), false negative (FN) and average of detection rate .

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help , Finance Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

idx = find(OriginalImage ~= WaterMarkedImage);
[coords{1:ndims(OriginalImage)}] = ind2sub(size(OriginalImage), idx);
row_col_plane_idx = cell2mat(coords);

Now row_col_plane_idx(K,1) is a row number of a mismatch, row_col_plane_idx(K,2) is the corresponding column, row_col_plane_idx(K,3) is the corresponding color plane (R, G, B)

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.