I used to beaten by the complex code when I want to show a picture using Java GUI
However, I sucess today ....
Below is what I've implemented:
1. convert BufferedImage type to ImageIcon ex: ImageIcon icon=new ImageIcon(bufferedImage);
2. creat object JLabel ex: JLabel label=new JLabel(icon);
davidctwood 發表在 痞客邦 留言(0) 人氣(3)
The most convience way to get the p value is
TTEST(Array1, Array2, tails, Type)
tail : 單尾 :1, 雙尾:2
Type : 成對 1
davidctwood 發表在 痞客邦 留言(0) 人氣(5)
gnuplt is a great tool for ploting data images
the basic script about plotting a line plot is
set xlabel "threshold high"
set ylabel "ME"
plot "mid.txt" using 1:2 title "middle phalanges" with linespoints pointtype 3
be careful about the data format
davidctwood 發表在 痞客邦 留言(0) 人氣(2)
I used to read an image using BuffereedImage method
int pixel=im.getRGB(j,i))&0xFF;
and I think it is queit ok; however, after somedays (ok years..... )
davidctwood 發表在 痞客邦 留言(0) 人氣(7)