TWI824970B - Light effect generating device and light effect generating method - Google Patents
Light effect generating device and light effect generating method Download PDFInfo
- Publication number
- TWI824970B TWI824970B TW112116463A TW112116463A TWI824970B TW I824970 B TWI824970 B TW I824970B TW 112116463 A TW112116463 A TW 112116463A TW 112116463 A TW112116463 A TW 112116463A TW I824970 B TWI824970 B TW I824970B
- Authority
- TW
- Taiwan
- Prior art keywords
- light
- emitting
- emitting unit
- pattern
- rows
- Prior art date
Links
- 230000001795 light effect Effects 0.000 title claims abstract description 66
- 238000000034 method Methods 0.000 title claims description 21
- 238000006243 chemical reaction Methods 0.000 claims abstract description 17
- 238000005070 sampling Methods 0.000 claims description 27
- 238000000926 separation method Methods 0.000 claims description 24
- 238000010586 diagram Methods 0.000 description 15
- 238000003491 array Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Abstract
Description
本案是有關於一種光效產生裝置以及光效產生方法,特別是關於一種具有菱格狀排列之發光單元之光效產生裝置以及光效產生方法。This case relates to a light effect generating device and a light effect generating method, in particular to a light effect generating device and a light effect generating method having light-emitting units arranged in a rhombus shape.
市面上已存在許多電子產品利用陣列排列的燈點提供多樣化光效。其中,相較於傳統方格狀排列之燈點,菱格狀排列之燈點可以產生特殊的發光效果。There are already many electronic products on the market that use arrays of light points to provide diverse light effects. Among them, compared with the traditional grid-shaped lamp points, the rhombus-shaped lamp points can produce a special luminous effect.
傳統之燈點控制方式是將原始圖樣進行馬賽克(pixelization)處理而產生對應於各個燈點的畫素資料。不過,此處理方式套用在菱格狀排列的燈點時容易產生圖像偏差的問題。The traditional light point control method is to perform mosaic (pixelization) processing on the original pattern to generate pixel data corresponding to each light point. However, this processing method is prone to image deviation when applied to light points arranged in a rhombus pattern.
本案提供一種光效產生裝置,用以利用一輸入圖檔產生光效。此光效產生裝置包含一殼體、一發光模組、一圖樣轉換模組以及一發光控制模組。殼體具有一表面。發光模組具有一寬度方向以及一高度方向,且包含複數發光單元,這些發光單元係以菱格狀排列於表面而構成一發光單元陣列,此發光單元陣列沿著寬度方向劃分出交替排列之複數第一發光單元行與複數第二發光單元行。圖樣轉換模組係設於殼體內,且包含一圖樣劃分單元、一第一取樣單元、一第二取樣單元以及一圖樣產生單元。其中,圖樣劃分單元係利用發光單元陣列之行列數,將輸入圖檔劃分為複數方格,這些方格包含對應於這些第一發光單元行之複數第一方格與對應於這些第二發光單元行之複數第二方格。第一取樣單元擷取各第一方格之一角落位置所對應之畫素資料以產生一第一圖樣資料。第二取樣單元擷取各第二方格之一側邊之中點位置所對應之畫素資料以產生一第二圖樣資料。圖樣產生單元結合第一圖樣資料以及第二圖樣資料產生一輸出圖檔。發光控制模組電性連接於圖樣轉換模組以及發光模組,用以接收輸出圖檔,並依據輸出圖檔控制發光模組產生光效。This case provides a light effect generating device for generating light effects using an input image file. The light effect generating device includes a housing, a light-emitting module, a pattern conversion module and a light-emitting control module. The housing has a surface. The light-emitting module has a width direction and a height direction, and includes a plurality of light-emitting units. These light-emitting units are arranged in a rhombus shape on the surface to form a light-emitting unit array. The light-emitting unit array is divided into a plurality of alternating arrangements along the width direction. A first light-emitting unit row and a plurality of second light-emitting unit rows. The pattern conversion module is located in the housing and includes a pattern dividing unit, a first sampling unit, a second sampling unit and a pattern generating unit. The pattern dividing unit uses the number of rows and columns of the light-emitting unit array to divide the input pattern into a plurality of squares. These squares include a plurality of first squares corresponding to the rows of the first light-emitting units and a plurality of first squares corresponding to the rows of the second light-emitting units. Row the second square in plural. The first sampling unit captures pixel data corresponding to a corner position of each first square to generate a first pattern data. The second sampling unit captures pixel data corresponding to the midpoint position of one side of each second square to generate a second pattern data. The pattern generating unit combines the first pattern data and the second pattern data to generate an output pattern file. The light-emitting control module is electrically connected to the pattern conversion module and the light-emitting module to receive the output image file and control the light-emitting module to generate light effects based on the output image file.
本案並提供一種光效產生方法。此光效產生方法適用於一發光模組,用以利用一輸入圖檔產生光效。發光模組設於一表面,且具有一寬度方向以及一高度方向。發光模組包含複數發光單元,這些發光單元係以菱格狀排列於表面而構成一發光單元陣列,發光單元陣列沿著寬度方向劃分出交替排列之複數第一發光單元行與複數第二發光單元行。此光效產生方法包含利用發光單元陣列之行列數,將輸入圖檔劃分為複數方格,這些方格包含對應於這些第一發光單元行之複數第一方格與對應於這些第二發光單元行之複數第二方格;擷取各第一方格之一角落位置所對應之畫素資料以產生一第一圖樣資料;擷取各第二方格之一側邊之中點位置所對應之畫素資料以產生一第二圖樣資料;結合第一圖樣資料以及第二圖樣資料產生一輸出圖檔;以及依據輸出圖檔控制這些發光單元產生光效。This case also provides a method for generating light effects. This light effect generation method is suitable for a light-emitting module and is used to generate light effects using an input image file. The light-emitting module is disposed on a surface and has a width direction and a height direction. The light-emitting module includes a plurality of light-emitting units. These light-emitting units are arranged on the surface in a rhombus shape to form a light-emitting unit array. The light-emitting unit array is divided into a plurality of first light-emitting unit rows and a plurality of second light-emitting units that are alternately arranged along the width direction. OK. This light effect generation method includes using the number of rows and columns of the light-emitting unit array to divide the input image file into a plurality of squares. These squares include a plurality of first squares corresponding to the first light-emitting unit rows and a plurality of first squares corresponding to the second light-emitting units. Line a plurality of second squares; retrieve the pixel data corresponding to the corner position of each first square to generate a first pattern data; retrieve the pixel data corresponding to the midpoint position of one side of each second square pixel data to generate a second pattern data; combine the first pattern data and the second pattern data to generate an output image file; and control these light-emitting units to produce light effects based on the output image file.
本案所提供之光效產生裝置以及光效產生方法,可以改善傳統馬賽克技術套用於菱格狀排列的發光單元時,容易產生圖像偏差的問題,而能使菱格狀排列的發光單元產生一個更接近輸入圖檔的光效。The light effect generation device and light effect generation method provided in this case can improve the problem of image deviation that is easy to occur when traditional mosaic technology is applied to light-emitting units arranged in a rhombus pattern, and can make the light-emitting units arranged in a rhombus pattern produce a Closer to the light effect of the input image file.
下面將結合示意圖對本案的具體實施方式進行更詳細的描述。根據下列描述和申請專利範圍,本案的優點和特徵將更清楚。需說明的是,圖式均採用非常簡化的形式且均使用非精準的比例,僅用以方便、明晰地輔助說明本案實施例的目的。The specific implementation of this case will be described in more detail below with reference to the schematic diagrams. The advantages and features of this case will become clearer from the following description and patent application scope. It should be noted that the diagrams are in a very simplified form and use imprecise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of this case.
第一圖係依據本案一實施例所提供之光效產生裝置100之外觀示意圖。第二圖係依據本案一實施例所提供之光效產生裝置100之方塊示意圖。The first figure is a schematic diagram of the appearance of a light effect generating device 100 provided according to an embodiment of the present invention. The second figure is a block diagram of a light effect generating device 100 provided according to an embodiment of the present invention.
本案之光效產生裝置100包含一殼體120、一發光模組140、一圖樣轉換模組160以及一發光控制模組180,用以依據一輸入圖檔F1產生光效。The light effect generation device 100 in this case includes a housing 120, a light emitting module 140, a pattern conversion module 160 and a light emitting control module 180 for generating light effects based on an input image file F1.
殼體120具有一表面122。此表面122具有一寬度方向D1以及一高度方向D2。一實施例中,如第一圖所示,此光效產生裝置100可以是一筆記型電腦。發光模組140可以是設置於筆記型電腦之背蓋以產生光效。Housing 120 has a surface 122 . The surface 122 has a width direction D1 and a height direction D2. In one embodiment, as shown in the first figure, the light effect generating device 100 may be a laptop computer. The light-emitting module 140 may be disposed on the back cover of the notebook computer to generate light effects.
請一併參照第三圖,第三圖係依據本案一實施例所提供之發光模組140之局部外觀示意圖。Please also refer to the third figure. The third figure is a partial appearance diagram of the light-emitting module 140 provided according to an embodiment of the present invention.
如圖中所示,發光模組140包含複數發光單元U1,這些發光單元U1係沿著一第一方向D3以及一第二方向D4,以菱格狀排列於表面122而構成一發光單元陣列A1。第一方向D3不同於第二方向D4。此外,第一方向D3不同於寬度方向D1,且第二方向D4不同於寬度方向D1。As shown in the figure, the light-emitting module 140 includes a plurality of light-emitting units U1. These light-emitting units U1 are arranged in a rhombus shape on the surface 122 along a first direction D3 and a second direction D4 to form a light-emitting unit array A1. . The first direction D3 is different from the second direction D4. Furthermore, the first direction D3 is different from the width direction D1, and the second direction D4 is different from the width direction D1.
此發光單元陣列A1沿著第一方向D3具有一第一間隔距離W1,此發光單元陣列A1沿著第二方向D4具有一第二間隔距離W2。The light-emitting unit array A1 has a first separation distance W1 along the first direction D3, and the light-emitting unit array A1 has a second separation distance W2 along the second direction D4.
本實施例中,第一間隔距離W1等於第二間隔距離W2。不過本案亦不限於此。請參照第四圖所示,第四圖係依據本案另一實施例所提供之發光模組240之局部外觀示意圖。如圖中所示,此發光單元陣列A1’沿著第一方向D3’具有一第一間隔距離W1’,此發光單元陣列A1’沿著第二方向D4’具有一第二間隔距離W2’,第一間隔距離W1’係大於第二間隔距離W2’。又,本案亦不限於此,其他實施例中,第一間隔距離W1亦可以是小於第二間隔距離W2。In this embodiment, the first separation distance W1 is equal to the second separation distance W2. However, this case is not limited to this. Please refer to the fourth figure. The fourth figure is a partial appearance diagram of the light-emitting module 240 provided according to another embodiment of the present invention. As shown in the figure, the light-emitting unit array A1' has a first separation distance W1' along the first direction D3', and the light-emitting unit array A1' has a second separation distance W2' along the second direction D4'. The first separation distance W1' is greater than the second separation distance W2'. Furthermore, the present case is not limited to this. In other embodiments, the first separation distance W1 may also be smaller than the second separation distance W2.
請再回到第三圖所示,各發光單元U1包含呈菱形分布之四個發光元件142。一實施例中,發光元件142係一發光二極體。這四個發光元件142係位於菱格的四個角落位置。不過本案亦不限於此。其他實施例中,各發光單元也可以包含五個發光元件142(分別位於菱格的四個角落位置與中間位置)、八個發光元件142(分別位於菱格的四個角落位置與四邊的中點位置)或是九個發光元件142(分別位於菱格的四個角落位置、四邊的中點位置以及菱格的中間位置)等。Please return to the third figure. Each light-emitting unit U1 includes four light-emitting elements 142 distributed in a rhombus. In one embodiment, the light-emitting element 142 is a light-emitting diode. These four light-emitting elements 142 are located at the four corners of the rhombus. However, this case is not limited to this. In other embodiments, each light-emitting unit may also include five light-emitting elements 142 (respectively located at the four corners and the middle of the rhombus), and eight light-emitting elements 142 (respectively located at the four corners and the center of the four sides of the rhombus). point position) or nine light-emitting elements 142 (located respectively at the four corners of the rhombus, the midpoint of the four sides, and the middle of the rhombus), etc.
此發光單元陣列A1沿著寬度方向D1可劃分出交替排列之複數第一發光單元行C1(奇數行)與複數第二發光單元行C2(偶數行)。The light-emitting unit array A1 can be divided into a plurality of first light-emitting unit rows C1 (odd-numbered rows) and a plurality of second light-emitting unit rows C2 (even-numbered rows) that are alternately arranged along the width direction D1.
圖樣轉換模組160係設於殼體120內,且包含一圖樣縮放單元162、一圖樣劃分單元164、一第一取樣單元166a、一第二取樣單元166b以及一圖樣產生單元168。The pattern conversion module 160 is provided in the housing 120 and includes a pattern scaling unit 162, a pattern dividing unit 164, a first sampling unit 166a, a second sampling unit 166b and a pattern generating unit 168.
圖樣轉換模組160會接收一輸入圖檔F1,並依據發光模組140上之發光單元U1的配置方式,將其轉換為一輸出圖檔F2。發光控制模組180係電性連接於圖樣轉換模組160以及發光模組140,用以接收輸出圖檔F2,並依據輸出圖檔F2控制發光模組140產生光效。The pattern conversion module 160 receives an input pattern file F1 and converts it into an output pattern file F2 according to the configuration of the light-emitting unit U1 on the light-emitting module 140 . The light-emitting control module 180 is electrically connected to the pattern conversion module 160 and the light-emitting module 140 for receiving the output pattern F2 and controlling the light-emitting module 140 to generate light effects according to the output pattern F2.
請一併參照第五A至五E圖,第五A至五E圖係以圖檔之變化呈現圖樣轉換模組160內各元件之運作流程。其中,第五A圖顯示輸入圖檔F1。Please also refer to Figures 5A to 5E. Figures 5A to 5E present the operation process of each component in the pattern conversion module 160 through changes in the image files. Among them, the fifth picture A shows the input picture file F1.
在接收輸入圖檔F1後,圖樣縮放單元162係依據發光模組140所具有之發光單元U1的數量與各發光單元U1的之寬高比例調整輸入圖檔F1。寬高比例是指各發光單元U1沿著寬度方向D1與高度方向D2之尺寸的比例。舉例來說,若是發光模組140沿著寬度方向D1與高度方向D2可劃分出68行x28列之發光單元U1,且各個發光單元U1的寬高比例為2:3,可將輸入圖檔F1等比例縮放到1360*840像素,其中,調整後的圖檔寬度是68*2*10=1360(單位為像素),調整後的圖檔高度是28*3*10=840(單位為像素)。圖檔之寬度與高度均放大10倍的原因是為了提升計算的精確度。After receiving the input image file F1, the pattern scaling unit 162 adjusts the input image file F1 according to the number of light-emitting units U1 of the light-emitting module 140 and the width-to-height ratio of each light-emitting unit U1. The aspect ratio refers to the ratio of the dimensions of each light-emitting unit U1 along the width direction D1 and the height direction D2. For example, if the light-emitting module 140 can be divided into 68 rows x 28 columns of light-emitting units U1 along the width direction D1 and the height direction D2, and the width-to-height ratio of each light-emitting unit U1 is 2:3, the input image file F1 can be Scaled to 1360*840 pixels, the adjusted image width is 68*2*10=1360 (in pixels), and the adjusted image height is 28*3*10=840 (in pixels) . The reason why the width and height of the image file are enlarged 10 times is to improve the accuracy of calculation.
請一併參照第五B圖所示,圖樣劃分單元164係利用發光單元陣列A1沿著寬度方向D1與高度方向D2所劃分出之行列數(也就是前述68行x28列),將輸入圖檔F1劃分為複數方格,這些方格包含對應於這些第一發光單元行C1之複數第一方格G1與對應於這些第二發光單元行C2之複數第二方格G2。Please also refer to Figure 5B. The pattern dividing unit 164 uses the number of rows and columns divided by the light-emitting unit array A1 along the width direction D1 and the height direction D2 (that is, the aforementioned 68 rows x 28 columns) to input the image file. F1 is divided into a plurality of squares, which include a plurality of first squares G1 corresponding to the first light-emitting unit rows C1 and a plurality of second squares G2 corresponding to the second light-emitting unit rows C2.
第一方格G1沿著寬度方向D1具有一第一寬度W3,第二方格G2沿著寬度方向D1具有一第二寬度W4。在第五B圖之範例中,輸入圖檔F1係劃分為68x28個方格,且第一寬度W3等於第二寬度W4。The first grid G1 has a first width W3 along the width direction D1, and the second grid G2 has a second width W4 along the width direction D1. In the example of Figure 5B, the input image file F1 is divided into 68x28 squares, and the first width W3 is equal to the second width W4.
值得注意的是,第一方格G1與第二方格G2的寬度係關聯於發光單元陣列A1之排列方式。具體而言,圖樣劃分單元164所劃分出之第一方格G1與第二方格G2之第一寬度W3與第二寬度W4之比係相等於第一間隔距離W1與第二間隔距離W2之比。舉例來說,如第五C圖所示,若是第一間隔距離W1與第二間隔距離W2之比例為1:2,第一寬度W3會等於20*2*1/(1+2)個像素,第二寬度W4會等於20*2*2/(1+2)個像素。It is worth noting that the widths of the first grid G1 and the second grid G2 are related to the arrangement of the light-emitting unit array A1. Specifically, the ratio of the first width W3 to the second width W4 of the first grid G1 and the second grid G2 divided by the pattern dividing unit 164 is equal to the ratio of the first separation distance W1 to the second separation distance W2 Compare. For example, as shown in Figure 5C, if the ratio of the first separation distance W1 to the second separation distance W2 is 1:2, the first width W3 will be equal to 20*2*1/(1+2) pixels , the second width W4 will be equal to 20*2*2/(1+2) pixels.
第一取樣單元166a會針對各個第一方格G1進行取樣以產生第一圖樣資料S1,第二取樣單元166b會針對第二方格G2進行取樣以產生第二圖樣資料S2。第一取樣單元166a與第二取樣單元166b之取樣方式不同。The first sampling unit 166a will sample each first square G1 to generate the first pattern data S1, and the second sampling unit 166b will sample the second square G2 to generate the second pattern data S2. The first sampling unit 166a and the second sampling unit 166b have different sampling methods.
請一併參照第五D與五E圖所示,其中,第五D圖係以第五B圖中之區域A為例說明本案之取樣方式,第五E圖顯示區域A經過第一取樣單元166a以及第二取樣單元166b取樣後產生之圖樣。Please refer to Figures 5D and 5E together. Figure 5D takes area A in Figure 5B as an example to illustrate the sampling method of this case. Figure 5E shows that area A passes through the first sampling unit. 166a and the pattern generated by the second sampling unit 166b.
如圖中所示,第五D圖之區域A中呈現四個方格522, 524, 526, 528對應於圖樣劃分單元164所劃分出來的第20至23行。其中,方格524, 528對應於奇數行(也就是第一發光單元行C1),屬於前述第一方格G1。方格522, 526對應於偶數行(也就是第二發光單元行C2),屬於前述第二方格G2。As shown in the figure, four squares 522, 524, 526, 528 appear in the area A of the fifth D figure, corresponding to the 20th to 23rd rows divided by the pattern dividing unit 164. Among them, squares 524 and 528 correspond to odd-numbered rows (that is, the first light-emitting unit row C1) and belong to the aforementioned first square G1. The squares 522 and 526 correspond to the even-numbered rows (that is, the second light-emitting unit row C2) and belong to the aforementioned second square G2.
對於方格524, 528(也就是第一方格G1)而言,第一取樣單元166a會擷取其側邊之中點位置之畫素資料(如圖中所示,即是擷取其右側邊之中點位置524a, 528a之畫素資料)作為代表以填滿整個方格524, 528。對於方格522, 526(也就是第二方格G2)而言,第二取樣單元166b會擷取其角落位置之畫素資料(如圖中所示,即是擷取其右下角落位置522a, 526a之畫素資料)作為代表以填滿整個方格522, 526,而呈現如第五E圖所示之圖樣。For squares 524 and 528 (that is, the first square G1), the first sampling unit 166a will capture the pixel data at the midpoint of its side (as shown in the figure, that is, capturing the right side The pixel data of the edge midpoint positions 524a, 528a) is used as a representative to fill the entire square 524, 528. For squares 522, 526 (that is, the second square G2), the second sampling unit 166b will capture the pixel data of its corner position (as shown in the figure, that is, capturing the lower right corner position 522a , pixel data of 526a) as a representative to fill the entire squares 522, 526, and present the pattern shown in Figure 5E.
值得注意的是,前述取樣方式僅為本案之一範例,本案並不限於此。舉例來說,第一取樣單元166a亦可以是擷取方格524, 528左側邊之中央位置之畫素資料,第二取樣單元166b亦可以是擷取方格522, 526右下角落位置之畫素資料;又,另一實施例中,第一取樣單元166a亦可以是擷取方格524, 528之角落位置之畫素資料,第二取樣單元166b亦可以是擷取方格522, 526之側邊中點位置之畫素資料。It is worth noting that the aforementioned sampling method is only an example of this case, and this case is not limited to this. For example, the first sampling unit 166a can also capture the pixel data at the center of the left side of the squares 524 and 528, and the second sampling unit 166b can also capture the pixel data at the lower right corner of the squares 522 and 526. In another embodiment, the first sampling unit 166a may also capture the pixel data at the corners of the squares 524 and 528, and the second sampling unit 166b may also capture the pixel data at the corners of the squares 522 and 526. The pixel data of the side midpoint position.
請一併參照第六A與六B圖,第六A與六B圖顯示本案之發光模組140依據輸入圖檔F1產生光效以及依據輸出圖檔F2產生光效的差異。其中,第六A圖係直接依據輸入圖檔F1利用馬賽克技術產生光效之示意圖,第六B圖係本案之發光模組140依據圖樣轉換模組160所產生之輸出圖檔F2產生光效之示意圖。一實施例中,發光模組140係依據輸出圖檔F2利用馬賽克技術產生光效。 Please refer to Figures 6A and 6B together. Figures 6A and 6B show the difference in the light effect produced by the light-emitting module 140 of this case based on the input image file F1 and the light effect produced based on the output image file F2. Among them, the sixth picture A is a schematic diagram that directly uses mosaic technology to produce light effects based on the input image file F1, and the sixth picture B is a schematic diagram that the light-emitting module 140 of this case produces light effects based on the output image file F2 generated by the pattern conversion module 160. Schematic diagram. In one embodiment, the light-emitting module 140 uses mosaic technology to generate light effects based on the output image file F2.
請一併參照第五A圖所示之輸入圖檔,如圖中所示,相較於第六A圖,第六B圖所呈現之光效更接近第五A圖所示之輸入圖檔F1。舉例來說,第五A圖所示之輸入圖檔的左下方具有一橫線,第六A圖直接依據輸入圖檔F1利用馬賽克技術產生光效的方式未能呈現出此橫線,相較之下,透過本案產生之輸出圖檔F2所呈現之光效則可以呈現出此橫線。 Please also refer to the input image file shown in Figure 5A. As shown in the figure, compared to Figure 6A, the light effect presented in Figure 6B is closer to the input image file shown in Figure 5A. F1. For example, the input image file shown in Figure 5A has a horizontal line in the lower left corner. Figure A, Figure 6, which directly uses mosaic technology to generate light effects based on the input image file F1, cannot show this horizontal line. Compared with Below, this horizontal line can be displayed through the light effect presented by the output image file F2 generated in this case.
第七圖係依據本案一實施例所提供之光效產生方法之流程圖。此光效產生方法適用於如第一與二圖所示之光效產生裝置100。此光效產生方法包含以下步驟。 The seventh figure is a flow chart of a method for generating light effects according to an embodiment of the present invention. This light effect generation method is suitable for the light effect generation device 100 shown in the first and second figures. This light effect generation method includes the following steps.
首先,如步驟S720所述,利用發光單元陣列A1之行列數,將輸入圖檔F1劃分為複數方格,這些方格包含對應於這些第一發光單元行C1之複數第一方格G1與對應於這些第二發光單元行C2之複數第二方格G2。 First, as described in step S720, the input image file F1 is divided into a plurality of squares by using the number of rows and columns of the light-emitting unit array A1. These squares include a plurality of first squares G1 corresponding to the first light-emitting unit rows C1 and corresponding A plurality of second square grids G2 in these second light-emitting unit rows C2.
隨後,如步驟S740所述,擷取各第一方格G1之一角落位置所對應之畫素資料以產生一第一圖樣資料S1,並擷取各第二方格G2之一側邊之中點位置所對應之畫素資料以產生一第二圖樣資料S2。Subsequently, as described in step S740, the pixel data corresponding to the corner position of each first square G1 is retrieved to generate a first pattern data S1, and the pixel data corresponding to one side of each second square G2 is retrieved. Click the pixel data corresponding to the position to generate a second pattern data S2.
接下來,如步驟S760所述,結合第一圖樣資料S1以及第二圖樣資料S2產生一輸出圖檔F2。Next, as described in step S760, an output image file F2 is generated by combining the first pattern data S1 and the second pattern data S2.
最後,如步驟S780所述,依據輸出圖檔F2控制發光模組140產生光效。Finally, as described in step S780, the light-emitting module 140 is controlled to generate light effects according to the output image file F2.
本案所提供之光效產生裝置100以及光效產生方法,可以改善傳統馬賽克技術套用於菱格狀排列的發光單元U1時容易產生圖像偏差的問題,而能使菱格狀排列的發光單元U1產生一個更接近輸入圖檔F1的光效,以提升使用者之視覺感受。The light effect generation device 100 and the light effect generation method provided in this case can improve the problem of image deviation that is easily caused when the traditional mosaic technology is applied to the light-emitting units U1 arranged in a rhombus shape, and can make the light-emitting units U1 arranged in a rhombus shape Produce a light effect closer to the input image file F1 to enhance the user's visual experience.
上述僅為本案較佳之實施例而已,並不對本案進行任何限制。任何所屬技術領域的技術人員,在不脫離本案的技術手段的範圍內,對本案揭露的技術手段和技術內容做任何形式的等同替換或修改等變動,均屬未脫離本案的技術手段的內容,仍屬於本案的保護範圍之內。The above are only preferred embodiments of this case and do not impose any restrictions on this case. Any technical personnel in the technical field who make any form of equivalent substitution or modification to the technical means and technical content disclosed in this case shall not deviate from the technical means of this case. It is still within the scope of protection of this case.
100:光效產生裝置 120:殼體 122:表面 140, 240:發光模組 142:發光元件 160:圖樣轉換模組 162:圖樣縮放單元 164:圖樣劃分單元 166a:第一取樣單元 166b:第二取樣單元 168:圖樣產生單元 180:發光控制模組 522, 524, 526, 528:方格 A1, A1’:發光單元陣列 U1:發光單元 F1:輸入圖檔 D1:寬度方向 D2:高度方向 D3, D3’:第一方向 D4, D4’:第二方向 W1, W1’:第一間隔距離 W2, W2’:第二間隔距離 C1:第一發光單元行 C2:第二發光單元行 G1:第一方格 G2:第二方格 W3:第一寬度 W4:第二寬度 522a, 526a:角落位置 524a, 528a:中點位置 S1:第一圖樣資料 S2:第二圖樣資料 F2:輸出圖檔 S720, S740, S760, S780:步驟 100:Light effect generating device 120: Shell 122:Surface 140, 240:Light-emitting module 142:Light-emitting component 160: Pattern conversion module 162:Pattern scaling unit 164: Pattern division unit 166a: First sampling unit 166b: Second sampling unit 168: Pattern generation unit 180: Luminous control module 522, 524, 526, 528: square A1, A1’: light-emitting unit array U1:Light-emitting unit F1: Input image file D1: Width direction D2: Height direction D3, D3’: first direction D4, D4’: second direction W1, W1’: first separation distance W2, W2’: second separation distance C1: First light-emitting unit row C2: The second light-emitting unit row G1: first square G2: Second square W3: first width W4: Second width 522a, 526a: corner position 524a, 528a: midpoint position S1: First pattern information S2: Second pattern information F2: Output image file S720, S740, S760, S780: Steps
第一圖係依據本案一實施例所提供之光效產生裝置之外觀示意圖; 第二圖係依據本案一實施例所提供之光效產生裝置之方塊示意圖; 第三圖係依據本案一實施例所提供之發光模組之局部外觀示意圖; 第四圖係依據本案另一實施例所提供之發光模組之局部外觀示意圖; 第五A至五E圖係以圖檔之變化呈現圖樣轉換模組內各元件之運作流程; 第六A圖係本案之發光模組直接依據輸入圖檔利用馬賽克技術產生光效之示意圖; 第六B圖係本案之發光模組依據圖樣轉換模組所產生之輸出圖檔產生光效之示意圖;以及 第七圖係依據本案一實施例所提供之光效產生方法之流程圖。 The first figure is a schematic diagram of the appearance of a light effect generating device provided according to an embodiment of the present application; The second figure is a block schematic diagram of a light effect generating device provided according to an embodiment of the present invention; The third figure is a partial appearance diagram of a light-emitting module provided according to an embodiment of the present application; The fourth figure is a partial appearance diagram of a light-emitting module provided according to another embodiment of the present invention; Figures 5A to 5E show the operation process of each component in the pattern conversion module through changes in the image files; Figure 6A is a schematic diagram of the light-emitting module in this case using mosaic technology to produce light effects directly based on the input image file; Figure 6B is a schematic diagram of the light-emitting module in this case producing light effects based on the output pattern generated by the pattern conversion module; and The seventh figure is a flow chart of a method for generating light effects according to an embodiment of the present invention.
100:光效產生裝置 100:Light effect generating device
140:發光模組 140:Light-emitting module
160:圖樣轉換模組 160: Pattern conversion module
162:圖樣縮放單元 162:Pattern scaling unit
164:圖樣劃分單元 164: Pattern division unit
166a:第一取樣單元 166a: First sampling unit
166b:第二取樣單元 166b: Second sampling unit
168:圖樣產生單元 168: Pattern generation unit
180:發光控制模組 180: Luminous control module
F1:輸入圖檔 F1: Input image file
S1:第一圖樣資料 S1: First pattern information
S2:第二圖樣資料 S2: Second pattern information
F2:輸出圖檔 F2: Output image file
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW112116463A TWI824970B (en) | 2023-05-03 | 2023-05-03 | Light effect generating device and light effect generating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW112116463A TWI824970B (en) | 2023-05-03 | 2023-05-03 | Light effect generating device and light effect generating method |
Publications (1)
Publication Number | Publication Date |
---|---|
TWI824970B true TWI824970B (en) | 2023-12-01 |
Family
ID=90053031
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW112116463A TWI824970B (en) | 2023-05-03 | 2023-05-03 | Light effect generating device and light effect generating method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI824970B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201622979A (en) * | 2014-10-15 | 2016-07-01 | 富士軟片股份有限公司 | Conductive film, display device equipped with the same and method for evaluating conductive film |
CN107221259A (en) * | 2017-06-30 | 2017-09-29 | 成都成电光信科技股份有限公司 | A kind of spherical display and display methods |
-
2023
- 2023-05-03 TW TW112116463A patent/TWI824970B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201622979A (en) * | 2014-10-15 | 2016-07-01 | 富士軟片股份有限公司 | Conductive film, display device equipped with the same and method for evaluating conductive film |
CN107221259A (en) * | 2017-06-30 | 2017-09-29 | 成都成电光信科技股份有限公司 | A kind of spherical display and display methods |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11424297B2 (en) | Display panel having multiple display regions and display apparatus | |
US7622182B2 (en) | Embedded interaction code enabled display | |
JP5357549B2 (en) | Light emitting device and projector | |
US7034866B1 (en) | Combined display-camera for an image processing system | |
JP2019071609A (en) | Super-resolution and color motion artifact correction in pulse color imaging system | |
US7950589B2 (en) | Program, information storage medium, two-dimensional code generation system, image generation system and printed material | |
TWI359609B (en) | ||
EP2218261B1 (en) | Autostereoscopic display device | |
US7817816B2 (en) | Embedded interaction code enabled surface type identification | |
CN108830234B (en) | Display panel and display device | |
CN109891282A (en) | Decoupling grating for augmented reality system | |
US20180276532A1 (en) | Electronic apparatus for operating machine learning and method for operating machine learning | |
US20140192171A1 (en) | Method for displaying three-dimensional integral images using mask and time division multiplexing | |
US8587187B2 (en) | Light diffusion of visible edge lines in a multi-dimensional modular display | |
US20070253600A1 (en) | Image Processing Apparatus | |
JP2002091683A (en) | Coordinate detecting method, coordinate input/detection device, electronic blackboard system and storage medium | |
CN108292431B (en) | Light field data representation | |
KR20150091339A (en) | Slant lens interlacing | |
WO2019178969A1 (en) | Structured light projection module and depth camera | |
TWI824970B (en) | Light effect generating device and light effect generating method | |
WO2019148896A1 (en) | Fingerprint identification method and device, display panel and readable storage medium | |
EP1416468A3 (en) | Method of fast processing image data for improving image visibility | |
CN113451534B (en) | Display panel, display device and display device image processing method | |
WO2022134097A1 (en) | Display panel and display device | |
US20210136353A1 (en) | Display module and display device including the same |