Skip to main content

image comparision

3 replies [Last post]
naren_singh
Offline
Joined: 2011-03-20
Points: 0

hey guys i need help in a project
i =hav to compare two images using java code can anyone help me and give me the code

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
geohut
Offline
Joined: 2011-03-20
Points: 0

I think you should do your own project and understand the concepts your professors are trying to teach you, knowledge of which would allow you to write the code. I say this very kindly, in the sense that I say it not to criticize you but to help you improve. Now, I'll help you get some ideas:
- An image is made up of pixels. It's basically a square grid of color values. Each color value generally has a red, green, and blue component.
- Generally, we say two images are entirely equal if their square grids of color values (pixels) are the same size and each color value in one image matches the color value in the same position in the other image. We say that two color values match if the red, green, and blue components of one are equal to the respective components in the other.
Basically, you need a triple loop comparing all the relevant values.

naren_singh
Offline
Joined: 2011-03-20
Points: 0

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
Sir,

I know you are right but the thing is I m a electronics student and have a few less knowledge of java
I completed my project in matlab (source code language electronics student are aware) it's the final stage of my semester and my guide hardly provide me help and asked me to complete the project in java which is impossible for me
So sir can you please help me

naren_singh
Offline
Joined: 2011-03-20
Points: 0

Normal
0

false
false
false

EN-US
X-NONE
X-NONE

MicrosoftInternetExplorer4

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}

Sir,
I know you are right but the thing is I m a electronics student and have a few less knowledge of java
I completed my project in matlab (source code language electronics student are aware) it's the final stage of my semester and my guide hardly provide me help and asked me to complete the project in java which is impossible for me
So sir can you please help me