跳至主要內容

文章

How to do Low Pass Filter using the C++ Builder XE5 of the Embarcadero?

圖片
How to do Low Pass Filter using the C++ Builder XE5 of the Embarcadero? How to do low pass filter using the C++ Builder XE5 of the Embarcadero? ¶ Introduction The low pass filter is able to remove noise and blur image. This is an average low pass filter. It is very simple and you have just summed in 3x3 matrix and the divide by 9. The result is the center pixel value. This program is for beginners, you only write 44 lines of code and then you can make it. The C++ Builder has a lot of components, we just use it and then prepare to arrange those components we need. We need a TMainMenu, a TOpenPictureDialog, a TImage, a TScrollbar and two TLabel. How to arrange those positions, you decide it. However, we have a sample for you. We have a scroll bar to decide to do times the low pass filter, more times and more blur. Equipment Operation System: Microsoft Windows 7 (64 bit) Development Utility: Embarcadero C++ Builder XE5 ...

How to Implement Zoom out of the Image?

圖片
How To Implement Zoom Out Of The Image? How To Implement Zoom Out Of The Image? ¶ Introduction If you want to zoom out your image, you could do with self. It's just a ratio compute to new pixel position. Don’t worry. Your original image still exists, we will establish a new image to keep the zoom out of the image. Equipment Operation System: Microsoft Windows 7 (64 bit) Development Utility: Microsoft Visual Studio 2010 Usage // Compute a ratio of zoom out of the image about the X-axis. dobRX = ((double)256 / (double)512); // Compute a ratio of zoom out of the image about the Y-axis. dobRY = ((double)256 / (double)512); // The height of the image. for ( int iY = 0; iY < imageA->DibInfo->bmiHeader.biHeight; iY++ ) { // The index of the Y-axis of the zoom out. iYY = (int)( iY * dobRY); // The width of the image. for ( int iX = 0; iX < im...

How to Implement Simple Background Subtraction?

圖片
How To Implement Simple Background Subtraction? How To Implement Simple Background Subtraction? ¶ Introduction A simple background subtraction can help to you extract foreground pixels. Sometimes, we need to extract foreground pixels for an approach to analysis. To know the foreground pixels that are our interesting things. Let’s do it. Equipment Operation System: Microsoft Windows 7 (64 bit) Development Utility: Microsoft Visual Studio 2010 Usage // The height of the image. for ( int iY = 0; iY < imageA->DibInfo->bmiHeader.biHeight; iY++ ) { // The width of the image. for ( int iX = 0; iX < imageA->DibInfo->bmiHeader.biWidth; iX++ ) { // The index of pixels of the image, if your bit depth is not three bit depth, you should change it and fit your bitmap format. lIDXA = ( iX * 3 ) + ( iY * imageA->DibInfo->bmiHeader.biWidth...

How to Make an Inverse Effect of the Image?

圖片
How To Make An Inverse Effect Of The Image? How To Make An Inverse Effect Of The Image? ¶ Introduction If you want to make an inverse effect of the image, you can try this algorithm. To make a similar a negative (of a photo). That would be fun. Equipment Operation System: Microsoft Windows 7 Professional (64 bit) Development Utility: Microsoft Visual Studio 2010 Usage // The height of the image. for ( int iY = 0; iY < imageA->DibInfo->bmiHeader.biHeight; iY++ ) { // The width of the image. for ( int iX = 0; iX < imageA->DibInfo->bmiHeader.biWidth; iX++ ) { // The index of pixel of image. lIDXA = ( iX * 3 ) + ( iY * imageA->DibInfo->bmiHeader.biWidth * 3 ); // Get value of blue channel. byteRGB_BA = imageA->DibArry[lIDXA+0]; // Get value of green channel. byteRGB_GA = image...

如何使用Android OpenCV的教学档?

圖片
如何使用Android OpenCV的教学档?  介绍  计算机视觉是一个热门的科技。OpenCV可以帮助你在它们的平台开发计算机视觉的应用。这里有许多的范例可以帮助你学习如何开发计算机视觉的APP。  环境  操作系统: Microsoft Windows 7 Professional (64 bit) and Android 4.2.2 开发工具包: OpenCV-2.4.10-android-sdk 作法  1. 安装OpenCV 管理者和范例  如果你的手机是 armeabi-v7a (ARMv7-A + NEON) ,Android 在 2.3以上,请安装 OpenCV_2.4.9_Manager_2.18_armv7a-neon.apk. 如果你的手机是 armeabi-v7a (ARMv7-A + NEON) , Android 2.3,请安装 OpenCV_2.4.9_Manager_2.18_armv7a-neon-android8.apk. 如果你的手机是 armeabi (ARMv5, ARMv6) , Android 2.3以上,请安装 OpenCV_2.4.9_Manager_2.18_armeabi.apk. 如果你的手机是 Intel x86 , Android 2.3以上,请安装 OpenCV_2. 4.9_Manager_2.18_x86.apk. 如果你的手机是 MIPS , Android 2.3以上,请安装 OpenCV_2.4.9_Manager_2.18_mips.apk. Open your DOS command window. C:\Windows\system32>adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * List of devices attached HT15TTD02887 device C:\Windows\system32>cd C:\OpenCV-2.4.10\OpenCV-2.4.10-android-sdk\apk C:\Op...

如何使用Android OpenCV的教學檔?

圖片
如何使用 Android OpenCV 的教學檔? 如何使用 Android OpenCV 的教學檔? ¶ 介紹 ¶ 電腦視覺是一個熱門的科技。OpenCV可以幫助你在它們的平台開發電腦視覺的應用。這裡有許多的範例可以幫助你學習如何開發電腦視覺的APP。 環境 ¶ 作業系統: Microsoft Windows 7 Professional (64 bit) and Android 4.2.2 開發套件: OpenCV-2.4.10-android-sdk 作法 ¶ 1.. 安裝OpenCV 管理者和範例 如果你的手機是 armeabi-v7a (ARMv7-A + NEON) ,Android 在 2.3以上,請安裝 OpenCV_2.4.9_Manager_2.18_armv7a-neon.apk. 如果你的手機是 armeabi-v7a (ARMv7-A + NEON) , Android 2.3,請安裝 OpenCV_2.4.9_Manager_2.18_armv7a-neon-android8.apk. 如果你的手機是 armeabi (ARMv5, ARMv6) , Android 2.3以上,請安裝 OpenCV_2.4.9_Manager_2.18_armeabi.apk. 如果你的手機是 Intel x86 , Android 2.3以上,請安裝 OpenCV_2. 4.9_Manager_2.18_x86.apk. 如果你的手機是 MIPS , Android 2.3以上,請安裝 OpenCV_2.4.9_Manager_2.18_mips.apk. Open your DOS command window. C:\Windows\system32>adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * List of devices attached HT15TTD02887 dev...

How to use Android OpenCV Tutorials?

圖片
How To Use Android OpenCV Tutorials? How To Use Android OpenCV Tutorials? ¶ Introduction Computer Vision is popular technology. OpenCV can help to you developing about computer vision application on their platform. There are many examples that are helping to you learning how to develop computer vision apps. Equipment Operation System: Microsoft Windows 7 Professional (64 bit) and Android 4.2.2 Development SDK: OpenCV-2.4.10-android-sdk Usage 1.. To install OpenCV Manager and examples. If you had armeabi-v7a (ARMv7-A + NEON) and Android more than 2.3, you should install OpenCV_2.4.9_Manager_2.18_armv7a-neon.apk. If you had armeabi-v7a (ARMv7-A + NEON) and Android equal 2.3, you should install OpenCV_2.4.9_Manager_2.18_armv7a-neon-android8.apk. If you had armeabi (ARMv5, ARMv6) and Android more than 2.3, you should install OpenCV_2.4.9_Manager_2.18_armeabi.apk. If you had Intel x86 and Android more than 2.3, you...

How to Establish a Different Picture of the Android Camera by Image Processing (Gray and Comic)?

圖片
How to Establish a Different Picture of the Android Camera by Image Processing (Gray and Comic)? How to Establish a Different Picture of the Android Camera by Image Processing (Gray and Comic)? ¶ Introduction Sometimes, we just feel fun to take a picture. Let’s take a different funny picture. We can develop by self. To design gray and comic style picture, it is not hard. You just need to own an Android phone and you can establish a funny camera app. Normally, you will encounter auto focus when you take a picture. This problem can be solved in this study. Firstly, while we can be waiting the auto focus to finish when we take a picture. That is why need to overwrite auto focus method to help us take a clear picture. Secondly, while the image processing had compute when we need to transform raw data to bitmap format. We used to bitmap factory to help us do this transform. Thirdly, there are two image processing that was chosen by users...

How to do Simple Ordered Dither Algorithm (Half-Tone Image)?

圖片
How to do Simple Ordered Dither Algorithm (Half-Tone Image)? How to do Simple Ordered Dither Algorithm (Half-Tone Image)? ¶ Introduction We often watch newspaper graph, however, if you watch this graph detail and then you will find out it was composed of many point pixels. Now, Let’s do it. We can do with self. This is for beginners. It would be fun. Equipment Operation System: Microsoft Windows 7 Professional (64 bit) Development Utility: Microsoft Visual Studio 2010 Usage // The height of the image. for ( int iY = 0; iY < imageA->DibInfo->bmiHeader.biHeight; iY++ ) { // The height of the image. for ( int iX = 0; iX < imageA->DibInfo->bmiHeader.biWidth; iX++ ) { // The index of pixel, because we use the three depth bit to present one pixel of color, // Therefore, we have to multiple three. lIDXA = ( iX * 3 ) + ( iY ...

How to do Simple Image Binarization?

圖片
How to do Simple Image Binarization? How to do Simple Image Binarization? ¶ Introduction Sometimes, we need to transform color images to monochrome image. There is one way that it is very simple to help you to do. You can download source code and binary files. Even I refer to OpenCV book, but I think it is so easy. I decide to implement it by myself. Equipment Operation System: Microsoft Windows 7 Professional (64 bit) Development Utility: Microsoft Visual Studio 2010 Usage // The height of the image. for ( int iY = 0; iY < imageA->DibInfo->bmiHeader.biHeight; iY++ ) { // The width of the image. for ( int iX = 0; iX < imageA->DibInfo->bmiHeader.biWidth; iX++ ) { // The index of pixel, because we use the three depth bit to present one pixel of color, // Therefore, we have to multiple three. lIDXA = ( iX * 3 ) + ( iY * imageA->DibInfo->bmiHeader.bi...
較新的文章 首頁 較舊的文章

波蘭文學習之旅:1-1. 波蘭文字母與發音(注音版)

圖片

最佳化處理策略之快速消除扭曲演算法

圖片

Visual Basic 6.0 程式案例學習: 10. 條碼列印程式 (2014版)

圖片

Python 日期與時間的處理

圖片

用10種程式語言做影像二值化(Image binarization)

圖片

修復損毀的 SQLite DB 資料庫

圖片

Visual Basic .Net 程式案例學習: 06. 題庫測驗系統 (2014版)

圖片

解決 ValueError: If using all scalar values, you must pass an index

圖片

Visual Basic 6.0 程式案例學習: 04. 人事考勤管理系統 (2014版)

圖片

Visual Basic 6.0 程式案例學習: 02. 加班薪資管理系統 (2014版)

圖片

佑佑的 Line 貼圖創作

貼圖作者網址:

https://line.me/S/shop/sticker/author/3883362

靜態貼圖

 
 
 
 
  牡羊座:狗狗角色

作者:佑佑
依照牡羊座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  金牛座:兔兔角色

作者:佑佑
依照金牛座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  雙子座:貓貓角色

作者:佑佑
依照雙子座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  巨蟹座:倉鼠角色

作者:佑佑
依照巨蟹座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  獅子座:幼獅角色

作者:佑佑
依照獅子座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  處女座:松鼠角色

作者:佑佑
依照處女座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  天秤座:鴿子角色

作者:佑佑
依照天秤座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  天蠍座:鳳凰角色

作者:佑佑
依照天蠍座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  射手座:人馬角色

作者:佑佑
依照射手座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  魔羯座:山羊角色

作者:佑佑
依照魔羯座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  水瓶座:海豚角色

作者:佑佑
依照水瓶座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  雙魚座:小丑魚角色

作者:佑佑
依照雙魚座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  上班族都變成狒狒,心裡想要說的話。

作者:佑佑
最近在台灣走紅的狒狒,用擬人化的方式,變成上班族,畫出心裡的想說的話。
購買貼圖
  接案派遣的日常

作者:佑佑
接案派遣到其他公司的日常對話,有調皮、正經、日常對話。
購買貼圖
  貓女事務員的搞笑時刻

作者:佑佑
把行政人員在職場上遇到千奇百怪的事情畫出來,用可愛的貓女來擔任行政人員的代言人。
購買貼圖
  貓貓說每天都會用到的話

作者:佑佑
日常生活常見的短句,用小貓擬人化的方式呈現,比較親切可愛。
購買貼圖
 
     
  大人的煩惱特輯:小兔角色

作者:佑佑
錢包餓了,生活苦了。變美變健康?先讓我睡飽吧。心好累,我需要充電。
購買貼圖
     

動態貼圖

 
 
 
 
  牡羊座日常交際:狗狗角色

作者:佑佑
依照牡羊座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  金牛座日常交際:兔兔角色

作者:佑佑
依照金牛座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  雙子座日常交際:貓貓角色

作者:佑佑
依照雙子座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  巨蟹座日常交際:倉鼠角色

作者:佑佑
依照巨蟹座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  獅子座日常交際:幼獅角色

作者:佑佑
依照獅子座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  處女座日常交際:松鼠角色

作者:佑佑
依照處女座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  天秤座日常交際:鴿子角色

作者:佑佑
依照天秤座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  天蠍座日常交際:鳳凰角色

作者:佑佑
依照天蠍座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  射手座日常交際:人馬角色

作者:佑佑
依照射手座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  魔羯座日常交際:山羊角色

作者:佑佑
依照魔羯座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  水瓶座日常交際:海豚角色

作者:佑佑
依照水瓶座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  雙魚座日常交際:小丑魚角色

作者:佑佑
依照雙魚座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
 
     
  厭世報:鬍渣男

作者:佑佑
厭世總有個理由跟原因,實在是令人不爽,為什麼最倒楣的總是我?真希望明天就是世界末日,讓大家都一樣慘。
購買貼圖
     

表情貼

 
 
 
 
  貓貓說每天都用得到的表情貼

作者:佑佑
日常生活常見的表情用語,用小貓擬人化的方式呈現,比較親切可愛。
購買貼圖
  天秤座的表情貼:鴿子角色

作者:佑佑
日常生活常見的表情用語,天秤座的鴿子擬人化方式呈現,比較親切可愛。
購買貼圖
  天蠍座的表情貼:鳳凰角色

作者:佑佑
日常生活常見的表情用語,天蠍座的鳳凰擬人化方式呈現,比較親切可愛。
購買貼圖
  射手座的表情貼:人馬角色

作者:佑佑
日常生活常見的表情用語,射手座的人馬擬人化方式呈現,比較親切可愛。
購買貼圖
 
 
 
 
  魔羯座的表情貼:山羊角色

作者:佑佑
日常生活常見的表情用語,魔羯座的山羊擬人化方式呈現,比較親切可愛。
購買貼圖
  水瓶座的表情貼:海豚角色

作者:佑佑
日常生活常見的表情用語,水瓶座的海豚擬人化方式呈現,比較親切可愛。
購買貼圖
  雙魚座的表情貼:小丑魚角色

作者:佑佑
日常生活常見的表情用語,雙魚座的小丑魚擬人化方式呈現,比較親切可愛。
購買貼圖