is to be processed (binary, packed binary image
or a gray scale image).For returning A
structuring element object, either strel function,
or a binary matrix that defines the
neighborhood of a structuring element is used
and for the pixels that beyond the image border
are mainly assigned the maximum value
afforded by the data type. These pixel values
for binary images, are assumed to be set to 1
and for the grayscale images, the maximum
value for the uint8 images is set to255.
Basically the Morphological erosion of an f
image by the structuring element is given by:
ε(f, b)(s, t) = min{f (s +x, t +y)−b(x, y)/(s +x, t
+y) ∈Df ; (x, y) ∈ Db}
Where Db and Df are mainly the domains of b
and f functions, respectively.
2.3 Structuring Element
The dilation and erosion functions accept
structuring element objects, called STRELs.
The strel function is use to create STRELs of
any arbitrary size and shape. The strel function
can be of many common shapes, mainly as
periodic lines, disks, diamonds, balls and lines.
Here in this paper I typically chosen a
structuring element which is of diamond,
rectangular and arbitrary shaped. It should be
noticeable that the structuring element must be
of the same shape and size as that of the
object’s input image.
2.4 Combining Dilation and Erosion
For implementation of image processing
operations combination of dilation and erosion
are mainly used, for example, the definition of
a morphological opening of an image says that
it is erosion which is followed by dilation, with
the help of the similar structuring element for
both operations. The related operation, for
morphological closing of an image, is just the
reverse, which consists of dilation followed by
erosion with the similar structuring element.
Skeletonization and Perimeter determination
are which are mainly the two common images
processing operations based on the techniques
of the dilation and erosion. For reducing all
objects in an image to lines Skeletonization is
used, in which the essential structure of the
image is not changed, on the other hand the
Perimeter pixels of the objects in a binary
image is the operation called Perimeter
Determination. For a pixel that is to be
considered as a perimeter pixel if it satisfies
both of these criteria i.e. the pixel should be on
and one (or more) of the pixels in its
neighborhood should be off.
3. Results and Discussion
First read the images of Fingers and Knee
having Rheumatoid Arthritis into the
MATLAB workspace than create a structuring
element. For eroding an image, the structuring
element should be is of diamond and
rectangular in shape type and the structuring
element taken should be large enough to be to
be to remove the lines, but it should not be
large enough to remove the rectangles. It
should be contains all 1's, and so on large
contiguous patches of foreground pixels it
should remove everything. Finally for restoring
the rectangles to their original sizes, the eroded
image using the same structuring element is
dilated, SE, will removes all the lines, but also
shrinks the rectangles. The diamond shape
structuring element creates 9x9 matrix, having
all 1’s in diamond shape along with 41
neighbors. Similarly arbitrary shaped
structuring element creates a diagonal
structuring element object having 5x5 matrix
having all diagonal element 1, a Flat STREL
object containing 5 neighbors. For enhancing
the performance of Structuring Element
Decomposition, the strel function may break
down the structuring elements to smaller
pieces, a technique is called as structuring
element decomposition.
IJCSI International Journal of Computer Science Issues, Vol. 10, Issue 2, No 3, March 2013
ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784
www.IJCSI.org 120
Copyright (c) 2013 International Journal of Computer
คือการประมวลผล (บรรจุ ไบนารีไบนารีรูปหรือภาพโทนสีเทา)ให้ Aจัดโครงสร้างองค์ประกอบวัตถุ การ strel ฟังก์ชันเมทริกซ์ฐานสองที่กำหนดหรือการใช้ย่านของ structuring องค์ประกอบและ การพิกเซลที่นอกเหนือจากขอบภาพส่วนใหญ่จะกำหนดค่าสูงสุดนี่ตามชนิดข้อมูล ค่าพิกเซลเหล่านี้สำหรับรูปแบบไบนารี จะถือว่าเป็นและ ภาพสีเทา สูงสุดเป็นตั้งค่าสำหรับภาพ uint8 to255โดยทั่วไปการกัดเซาะของของ f เป็นภาพ โดยองค์ประกอบ structuring ได้โดย:Ε (f, b) (s, t) = min { f (s + x, t + y) −b (x, y) / (s + x, t+ y) ∈Df (x, y) ∈ Db }Db และ Df ส่วนใหญ่เป็นโดเมนของ bและ ฟังก์ชัน f ตามลำดับ2.3 จัดโครงสร้างองค์ประกอบยอมรับฟังก์ชัน dilation และพังทลายจัดโครงสร้างองค์ประกอบวัตถุ เรียกว่า STRELsมีใช้ฟังก์ชัน strel เพื่อสร้าง STRELs ของการกำหนดขนาดและรูปร่าง ฟังก์ชัน strelสามารถมีหลายรูปร่างทั่วไป ส่วนใหญ่เป็นงวดบรรทัด ดิสก์ เพชร ลูกบอล และการที่นี่ในกระดาษนี้ผมมักจะเลือกเป็นจัดโครงสร้างองค์ประกอบซึ่งเป็นของเพชรสี่เหลี่ยม และกำหนดรูปทรง ควรมีเห็นได้ชัดว่า ต้องเป็นองค์ประกอบ structuringรูปร่างและขนาดที่เหมือนกันรูปภาพสำหรับการป้อนค่าของวัตถุ2.4 รวม Dilation และพังทลายสำหรับงานประมวลผลภาพการดำเนินงานทั้ง dilation และพังทลายส่วนใหญ่ใช้ ตัวอย่าง การกำหนดเปิดสัณฐานของรูปบอกว่าจึงพังทลายซึ่งจะตาม ด้วย dilation ด้วยองค์ประกอบ structuring คล้ายกันสำหรับความช่วยเหลือการดำเนินการทั้งสอง เกี่ยวข้องกับการดำเนินงาน การปิดสัณฐานของรูป เป็นเพียงการย้อนหลัง ซึ่งประกอบด้วย dilation ตามด้วยพังทลาย ด้วยองค์ประกอบ structuring คล้ายกำหนด skeletonization และปริมณฑลอยู่ซึ่งเป็นส่วนใหญ่ที่สองทั่วภาพประมวลผลการดำเนินงานตามเทคนิคdilation และพังทลาย การลดทั้งหมดวัตถุในรูปบรรทัด Skeletonizationใช้ ซึ่งโครงสร้างสำคัญของการภาพจะไม่เปลี่ยนแปลง คงพิกเซลในขอบเขตของวัตถุในไบนารีรูปเป็นการดำเนินการที่เรียกว่าขอบเขตกำหนด สำหรับเซลที่จะถือว่าเป็นเซลในขอบเขตถ้ามันเป็นไปตามเงื่อนไขเหล่านี้เช่นพิกเซลควรอยู่ในทั้งสองและหนึ่ง (หรือมากกว่า) ของพิกเซลในตัวพื้นที่ใกล้เคียงควรปิด3. ผลลัพธ์ และสนทนาก่อน อ่านภาพของนิ้วมือและเข่ามีข้ออักเสบยังคงเป็นพื้นที่ทำงานของ MATLAB กว่าสร้างการจัดโครงสร้างองค์ประกอบการ สำหรับการกัดเซาะรูปภาพ การจัดโครงสร้างองค์ประกอบที่ควรจะเป็นของเพชร และสี่เหลี่ยมชนิดของรูปร่างและการจัดโครงสร้างองค์ประกอบที่ใช้ควรใหญ่พอที่จะการลบบรรทัด แต่ไม่ควรพอเอารูปสี่เหลี่ยม มันควรจะประกอบด้วยทั้งหมด 1 และขนาดใหญ่ติดกันซอฟต์แวร์พิกเซลเบื้องหน้ามันควรเอาทุกอย่าง สุดท้ายสำหรับการคืนค่าสัมพันธ์กับขนาดเดิม การ erodedรูปภาพโดยใช้องค์ประกอบ structuring เดียวโป่ง SE จะลบออกบรรทัดทั้งหมด แต่ยังลดขนาดแบบสี่เหลี่ยม รูปทรงของเพชรจัดโครงสร้างองค์ประกอบสร้างเมตริกซ์ 9 x 9 มีทั้งหมด 1 รูปเพชรกับ 41เพื่อนบ้าน ในทำนองเดียวกัน กำหนดรูปจัดโครงสร้างองค์ประกอบสร้างขวางจัดโครงสร้างองค์ประกอบวัตถุมีเมตริกซ์ 5 x 5มีองค์ประกอบเส้นทแยงมุมทั้งหมด 1, STREL แบนวัตถุที่ประกอบด้วยบ้าน 5 สำหรับการเพิ่มประสิทธิภาพของการจัดโครงสร้างองค์ประกอบแยกส่วนประกอบ ฟังก์ชัน strel อาจแบ่งได้องค์ประกอบ structuring ให้เล็กลงชิ้น เทคนิคจะเรียกว่าเป็นการจัดโครงสร้างองค์ประกอบแยกส่วนประกอบสมุดรายวันระหว่างประเทศ IJCSI ปัญหาคอมพิวเตอร์วิทยาศาสตร์ ปี 10, 2, 3 ไม่ออก 2013 มีนาคมนอก (พิมพ์): 1694-0814 | นอก (ออนไลน์): 1694-0784www.IJCSI.org 120ลิขสิทธิ์ (c) 2013 นานาสมุดรายวันของคอมพิวเตอร์
การแปล กรุณารอสักครู่..

is to be processed (binary, packed binary image
or a gray scale image).For returning A
structuring element object, either strel function,
or a binary matrix that defines the
neighborhood of a structuring element is used
and for the pixels that beyond the image border
are mainly assigned the maximum value
afforded by the data type. These pixel values
for binary images, are assumed to be set to 1
and for the grayscale images, the maximum
value for the uint8 images is set to255.
Basically the Morphological erosion of an f
image by the structuring element is given by:
ε(f, b)(s, t) = min{f (s +x, t +y)−b(x, y)/(s +x, t
+y) ∈Df ; (x, y) ∈ Db}
Where Db and Df are mainly the domains of b
and f functions, respectively.
2.3 Structuring Element
The dilation and erosion functions accept
structuring element objects, called STRELs.
The strel function is use to create STRELs of
any arbitrary size and shape. The strel function
can be of many common shapes, mainly as
periodic lines, disks, diamonds, balls and lines.
Here in this paper I typically chosen a
structuring element which is of diamond,
rectangular and arbitrary shaped. It should be
noticeable that the structuring element must be
of the same shape and size as that of the
object’s input image.
2.4 Combining Dilation and Erosion
For implementation of image processing
operations combination of dilation and erosion
are mainly used, for example, the definition of
a morphological opening of an image says that
it is erosion which is followed by dilation, with
the help of the similar structuring element for
both operations. The related operation, for
morphological closing of an image, is just the
reverse, which consists of dilation followed by
erosion with the similar structuring element.
Skeletonization and Perimeter determination
are which are mainly the two common images
processing operations based on the techniques
of the dilation and erosion. For reducing all
objects in an image to lines Skeletonization is
used, in which the essential structure of the
image is not changed, on the other hand the
Perimeter pixels of the objects in a binary
image is the operation called Perimeter
Determination. For a pixel that is to be
considered as a perimeter pixel if it satisfies
both of these criteria i.e. the pixel should be on
and one (or more) of the pixels in its
neighborhood should be off.
3. Results and Discussion
First read the images of Fingers and Knee
having Rheumatoid Arthritis into the
MATLAB workspace than create a structuring
element. For eroding an image, the structuring
element should be is of diamond and
rectangular in shape type and the structuring
element taken should be large enough to be to
be to remove the lines, but it should not be
large enough to remove the rectangles. It
should be contains all 1's, and so on large
contiguous patches of foreground pixels it
should remove everything. Finally for restoring
the rectangles to their original sizes, the eroded
image using the same structuring element is
dilated, SE, will removes all the lines, but also
shrinks the rectangles. The diamond shape
structuring element creates 9x9 matrix, having
all 1’s in diamond shape along with 41
neighbors. Similarly arbitrary shaped
structuring element creates a diagonal
structuring element object having 5x5 matrix
having all diagonal element 1, a Flat STREL
object containing 5 neighbors. For enhancing
the performance of Structuring Element
Decomposition, the strel function may break
down the structuring elements to smaller
pieces, a technique is called as structuring
element decomposition.
IJCSI International Journal of Computer Science Issues, Vol. 10, Issue 2, No 3, March 2013
ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784
www.IJCSI.org 120
Copyright (c) 2013 International Journal of Computer
การแปล กรุณารอสักครู่..

จะถูกประมวลผล ( ไบนารี , บริการ
ภาพไบนารีหรือภาพระดับสีเทา ) สำหรับการส่งคืนวัตถุธาตุเหมือนกัน
strel ฟังก์ชันเมทริกซ์ , หรือไบนารีที่กำหนด
ละแวกขององค์ประกอบการใช้
และพิกเซลที่นอกเหนือจากภาพชายแดน
ส่วนใหญ่จะกำหนดมูลค่าสูงสุด
โซ โดยข้อมูลประเภท ค่าพิกเซลเหล่านี้
ภาพไบนารี จะถือว่าเป็นชุดที่ 1
และสำหรับระดับสีเทาภาพมูลค่าสูงสุด
สำหรับ uint8 ภาพเป็นชุด to255 .
โดยทั่วไปลักษณะการพังทลายของ F
ภาพโดยการสร้างองค์ประกอบให้ε :
( f , b ) ( , t ) = มิน { F ( x , t Y ) − B ( X Y ( S ) x , T
Y ) ∈ df ; ( X , Y ) ∈ DB }
ที่ DB และ DF ส่วนใหญ่โดเมน B
f ฟังก์ชันตามลำดับ 2.3 โครงสร้างองค์ประกอบ
และฟังก์ชั่นการการยอมรับ
โครงสร้างวัตถุธาตุ เรียกว่า strels .
ฟังก์ชัน strel ถูกใช้เพื่อสร้าง strels โดยพลการใด ๆของ
ขนาดและรูปร่าง ฟังก์ชัน strel
สามารถรูปร่างทั่วไปมากมาย ส่วนใหญ่เป็นเส้นๆ
, ดิสก์ , เพชร , ลูกบอลและเส้น
ที่นี่ในกระดาษนี้ผมมักจะเลือก
โครงสร้างองค์ประกอบซึ่งเป็นเพชรสี่เหลี่ยมและรูปทรง
พล . มันควรจะ
เห็นได้ชัดว่าจัดองค์ประกอบต้อง
ของรูปร่างเดียวกันและขนาดเท่ากับภาพใส่
2.4 การขยายตัวของวัตถุ และการกัดเซาะ
เพื่อการประมวลภาพการรวมกันของการขยายและการกัดเซาะ
ใช้เป็นหลัก ตัวอย่างเช่น นิยามของ
เปิดสารภาพว่า
มันคือการกัดเซาะซึ่งตามมาด้วยการขยายกับ
ความช่วยเหลือขององค์ประกอบโครงสร้างคล้าย
ทั้งงาน การดำเนินงานที่เกี่ยวข้องกับ
ปิดลักษณะทางสัณฐานวิทยาของภาพเป็นเพียง
ย้อนกลับ ซึ่งประกอบด้วยการขยายตาม
กัดเซาะกับองค์ประกอบโครงสร้างคล้ายคลึงกัน และมีการกำหนดขอบเขต skeletonization
ซึ่งส่วนใหญ่เป็นสองภาพ
ทั่วไปการประมวลผลการดำเนินการขึ้นอยู่กับเทคนิค
ของม่านตาและการกัดกร่อน .เพื่อลด
วัตถุในรูปสาย skeletonization คือ
ใช้ซึ่งในโครงสร้างที่สำคัญของ
ภาพไม่ขึ้น ในทางกลับกัน
ปริมณฑลพิกเซลของวัตถุในรูปแบบไบนารีคือการผ่าตัดที่เรียกว่าปริมณฑล
ความมุ่งมั่น สำหรับพิกเซลที่จะ
ถือว่าเป็นปริมณฑลพิกเซลถ้ามันเข้าตา
ทั้งสองเกณฑ์เช่นพิกเซลควรจะ
และหนึ่ง ( หรือมากกว่า ) ของพิกเซลในละแวกนั้น
ควรปิด .
3 ผลและการอภิปราย
แรกอ่านภาพมือและเข่า
Matlab มีโรคข้ออักเสบ rheumatoid ในพื้นที่กว่าสร้างโครงสร้าง
องค์ประกอบ สำหรับภาคเอกชนที่เป็นภาพ จัดองค์ประกอบ ควรเป็นเพชร
รูปสี่เหลี่ยมในรูปร่างและรูปแบบและโครงสร้าง
องค์ประกอบถ่ายควรมีขนาดใหญ่พอที่จะเป็น
จะลบบรรทัด แต่มันไม่ควร
ใหญ่พอที่จะเอาสี่เหลี่ยม มันควรจะมีทั้งหมด
1 และอื่น ๆขนาดใหญ่
ติดกันเป็นหย่อม ๆเบื้องหน้าพิกเซลมัน
ควรลบทุกอย่าง ในที่สุดการฟื้นฟู
สี่เหลี่ยมขนาดเดิมของพวกเขา , การกัดเซาะ
ภาพโดยใช้องค์ประกอบโครงสร้างเดียวกัน
พอง , เซ จะเอาทุกสาย แต่ยัง
ลดขนาดสี่เหลี่ยมเพชรรูปร่างโครงสร้างองค์ประกอบสร้าง Matrix 9x9
ทั้งหมด มี 1 ในรูปร่างเพชรพร้อมกับ 41
เพื่อนบ้าน ในการสร้างองค์ประกอบหนึ่งรูป
จัดองค์ประกอบวัตถุมีเส้นทแยงมุมเส้นทแยงมุม 5x5 เมทริกซ์
มีองค์ประกอบ 1 แบน strel
วัตถุที่ประกอบด้วย 5 เพื่อนบ้าน เพื่อเพิ่มประสิทธิภาพในการสลายองค์ประกอบ
,ฟังก์ชัน strel อาจแบ่ง
ลงโครงสร้างองค์ประกอบชิ้นเล็กๆ
, เทคนิคที่เรียกว่าการสลายองค์ประกอบ
.
ijcsi วารสารนานาชาติของปัญหาคอมพิวเตอร์ปีที่ 10 , ฉบับที่ 2 , 3 มีนาคม 2556
ISSN ( พิมพ์ ) : 1694-0814 | ISSN ( ออนไลน์ ) : 1694-0784 120
www.ijcsi.org ลิขสิทธิ์ ( c ) 2013 วารสารคอมพิวเตอร์
การแปล กรุณารอสักครู่..
