6월24일 자바(클래스) 영상처리(프로젝트)

2010. 6. 24. 15:492010년/6월


package net.busanitizn;

class Dog
{
  int age;
  int weight;
  int height;
  String name;
  static void Bark()
  {
    System.out.println("멍멍");
  }
  static void Dogrun()
  {
    System.out.println("뛴다 뛰어");
  }
  
}

public class DogMain {

  
  public static void main(String[] args) {
    Dog Merry = new Dog();
    
    Merry.age=2;
    Merry.Bark();
    Merry.Dogrun();
    
    System.out.println("메리야 몇살이니?");
    
    System.out.println("네 저는 "+Merry.age+"살입니다.");
    

  }

}



package net.itisn;

class Person
{
  int age;
  float height;
  float weight;
}

public class PersonMain {

  public static void main(String[] args) {
    Person brother = new Person();
    brother.age=100;
    brother.height=170.0F;
    brother.weight=67.0F;
    
    System.out.println("age : "+brother.age);
    System.out.println("height : "+brother.height);
    System.out.println("weight : "+brother.weight);
    
  }

}

==============================================================
==============================================================
영상처리
1.흑백
2.히스토그램
3.2진화
4.확대축소
5.회전


기본화면이다. 여기서 라디오버튼으로 흑백화면과 이진화 히스토그램 회전을 클릭하면 된다.

다음 흑백화면이다.


2진화화면


히스토그램


회전과 축소한것이다.