A fabric display control method, device, controller and storage medium
By acquiring the original image and determining the display resolution, the state of the pile structure on the fabric body is controlled, solving the problem of the lack of dynamic display in traditional fabrics and achieving high-quality pattern presentation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHONGQING LANDIAN AUTOMOBILE TECHNOLOGY CO LTD
- Filing Date
- 2025-11-25
- Publication Date
- 2026-04-21
AI Technical Summary
Traditional sunshades or curtains lack dynamic visual expression capabilities, and existing technologies cannot achieve pattern display on the surface of directional pile fabrics.
By acquiring the original image, the display resolution of the display area in the fabric body is determined, and the collapsing state of the pile structure is controlled based on the unit writing range of the pattern writing device to present the target pattern.
It enables dynamic and programmable display on the fabric itself, improving the presentation of patterns and meeting diverse and personalized display needs.
Smart Images

Figure CN121209815B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display control technology, and in particular to a fabric display control method, device, controller and storage medium. Background Technology
[0002] With the development of smart homes and smart cockpits, users' demands for the interactivity and personalization of their environmental interfaces are increasing. Traditional sunshades or curtains only have the function of blocking light and lack the ability to express dynamic visuals.
[0003] In existing technologies, some products attempt to incorporate LED (Light-Emitting-Diode) light strips, OLED (Organic Light-Emitting Diode) screens, or projection technology to achieve pattern display.
[0004] Because suede, velvet, flocked fabrics and other oriented pile fabrics have unique optical properties, existing methods are not suitable for displaying patterns on the fabric surface. Summary of the Invention
[0005] Therefore, it is necessary to provide a fabric display control method, device, controller, computer-readable storage medium, and computer program product that can realize pattern display on the fabric surface to address the above-mentioned technical problems.
[0006] In a first aspect, this application provides a fabric display control method, the method comprising:
[0007] Obtain the original image;
[0008] The display resolution of the display area in the fabric body is determined; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device, the pattern writing device being used to change the lying state of the pile structure on the fabric body in order to adjust the image presented by the fabric body;
[0009] According to the display resolution, the original image is aligned with the display area to obtain a target image, and control parameters for the pattern writing device are determined based on the target image;
[0010] Based on the control parameters, the pattern writing device is controlled to change the lying state of the pile structure on the fabric body, so as to present the pattern corresponding to the target image in the display area.
[0011] In one embodiment, determining the display resolution of the display area in the fabric body includes:
[0012] Determine the display area within the fabric body used to present the pattern corresponding to the original image;
[0013] The unit writing range of the pattern writing device in the display area is determined based on the number of pressure actuation units included in the pattern writing device; the pressure actuation unit is used to change the folded state of the velvet structure included in at least one individual display pixel in the display area;
[0014] Determine the mapping relationship between the size of the display area and the size of the unit write range, and determine the display resolution of the display area based on the size mapping relationship.
[0015] In one embodiment, the original image is aligned with the display area according to the display resolution to obtain a target image, and control parameters for the pattern writing device are determined based on the target image, including:
[0016] Based on the display resolution and the image resolution of the original image, the original image is aligned with the display area to obtain the target image;
[0017] Determine the environmental information of the environment in which the fabric body is located;
[0018] Based on the target image and the environmental information, control parameters for the pattern writing device are determined.
[0019] In one embodiment, determining control parameters for the pattern writing device based on the target image and the environmental information includes:
[0020] The target pixels in the target image are binarized according to the environmental information to obtain a binary dot matrix of the target image; the binary dot matrix includes multiple binary elements, which are used to characterize the execution state of the corresponding pressure execution unit in the pattern writing device;
[0021] The binary elements included in the binary dot matrix are encoded to obtain the control parameters corresponding to each pressure actuation unit.
[0022] In one embodiment, based on the control parameters, controlling the pattern writing device to change the flattened state of the pile structure on the fabric body includes:
[0023] Based on the unit write range, determine the control timing of each sub-control parameter included in the control parameters;
[0024] Based on the control timing of each of the sub-control parameters, the pattern writing device is sequentially controlled to change the lying state of the pile structure at the corresponding position on the fabric body according to the sub-control parameters.
[0025] In one embodiment, the method further includes:
[0026] If the fabric body meets the pattern clearing trigger condition, determine the clearing method for the pattern presented in the display area;
[0027] According to the clearing method, the pattern writing device is controlled to clear the pattern presented in the displayed area.
[0028] In one embodiment, the method further includes:
[0029] Determine the display state of the pattern presented in the display area;
[0030] If the display state meets the pattern update conditions, a replacement image is determined;
[0031] The pattern writing device is controlled to change the lying state of the pile structure on the fabric body so as to present the pattern corresponding to the replacement image in the display area.
[0032] Secondly, this application also provides a fabric display control device, the device comprising:
[0033] The image acquisition module is used to acquire the original image;
[0034] A resolution determination module is used to determine the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device, the pattern writing device is used to change the lying state of the pile structure on the fabric body to adjust the image presented by the fabric body;
[0035] The parameter generation module is used to align the original image with the display area according to the display resolution to obtain a target image, and to determine control parameters for the pattern writing device based on the target image.
[0036] The display control module is used to control the pattern writing device to change the lying state of the pile structure on the fabric body based on the control parameters, so as to present the pattern corresponding to the target image in the display area.
[0037] Thirdly, this application also provides a controller, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method described above.
[0038] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described above.
[0039] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described above.
[0040] The aforementioned fabric display control method, apparatus, controller, computer-readable storage medium, and computer program product, through the following steps: acquiring an original image; determining the display resolution of the display area in the fabric body; the display resolution being determined based on the size of the display area and the unit writing range of the pattern writing device, the pattern writing device being used to change the lying state of the pile structure on the fabric body to adjust the image presented by the fabric body; aligning the original image with the display area according to the display resolution to obtain a target image, and determining control parameters for the pattern writing device based on the target image; and controlling the pattern writing device to change the lying state of the pile structure on the fabric body based on the control parameters to present the pattern corresponding to the target image in the display area. By first acquiring the original image and determining the display resolution of the display area in the fabric body (the display resolution can be comprehensively determined based on the size of the display area and the unit writing range of the pattern writing device), and then aligning the original image with the display area according to the display resolution to obtain the target image, and then determining control parameters based on the target image, and controlling the pattern writing device to change the lying state of the pile structure based on the control parameters, thereby presenting the pattern corresponding to the target image in the display area, dynamic and programmable display of patterns on the fabric body can be achieved, thereby effectively improving the presentation effect of fabric patterns and meeting diverse personalized display needs. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 This is an application environment diagram of the fabric display control method in one embodiment;
[0043] Figure 2 This is a schematic diagram of the structure of the fabric body in one embodiment;
[0044] Figure 3 This is a schematic diagram of the pattern writing device in its initial state in one embodiment;
[0045] Figure 4 This is a schematic diagram of the pattern writing device in operation in one embodiment;
[0046] Figure 5This is a flowchart illustrating a fabric display control method in one embodiment;
[0047] Figure 6 This is a flowchart illustrating the process of determining control parameters in one embodiment;
[0048] Figure 7 This is a schematic diagram of the structure at the first position when a pattern is written in an application example.
[0049] Figure 8 This is a schematic diagram of the structure at the second position when a pattern is written in an application example.
[0050] Figure 9 This is a schematic diagram of the structure at the third position when a pattern is written in an application example.
[0051] Figure 10 This is a structural block diagram of a fabric display control device in one embodiment;
[0052] Figure 11 This is a diagram of the internal structure of the controller in one embodiment. Detailed Implementation
[0053] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0054] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0055] The fabric display control method provided in this application embodiment can be applied to, for example, Figure 1In the application environment shown, terminal 101, fabric body 102, and pattern writing device 103 communicate with controller 104 via a network. Fabric body 102 is used to display the pattern corresponding to the image required by the user. Pattern writing device 103 can be controlled by controller 104 to display the corresponding pattern on fabric body 102. Data storage system can store the data that controller 104 needs to process. Data storage system can be integrated into controller 104 or placed in the cloud or other network servers. The user can send the original image to be displayed to the controller 104 through the terminal 101. The controller 104 can acquire the original image and determine the display resolution of the display area in the fabric body 102. The display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device 103. The pattern writing device 103 is used to change the lying state of the pile structure on the fabric body 102 to adjust the image presented by the fabric body 102. The controller 104 can align the original image with the display area according to the display resolution to obtain the target image, and determine the control parameters for the pattern writing device 103 based on the target image. Then, the controller 104 can control the pattern writing device 103 to change the lying state of the pile structure on the fabric body based on the control parameters to present the pattern corresponding to the target image in the display area.
[0056] The terminal 101 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, drones, low-altitude aircraft, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, and projection equipment. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted displays. Head-mounted displays can be virtual reality (VR) devices, augmented reality (AR) devices, and smart glasses. The controller 104 can be a vehicle controller, an independent microcontroller, a physical server, a server cluster consisting of multiple physical servers, or a distributed system, or a cloud server providing cloud computing services.
[0057] like Figure 2 , Figure 3 and Figure 4As shown, the fabric body 102 can be made of materials including but not limited to suede, velvet, flocked fabric, corduroy, etc. One side surface of the fabric body 102 has a pile structure 1022. When subjected to external force, the pile structure 1022 can exhibit different lying states, such as different lying directions and degrees, thereby changing the angle of light reflection incident on the surface of the fabric body 102 to present different visual effects. For example, when the pile structure 1022 is upright, the surface of the fabric body 102 appears smoother and reflects light more strongly; while when the pile structure 1022 is lying down, the fabric surface becomes rougher and reflects light less, thus presenting different shades of color.
[0058] The pattern writing device 103 is disposed on the side of the fabric body 102 corresponding to the display area 1021. The side of the pattern writing device 103 facing the display area 1021 can, under the control of the controller, contact and apply pressure to the pile structure 1022 of the display area 1021 to change the collapsed state of the pile structure 1022. The pattern writing device 103 includes multiple pressure actuation units 1031, which can be evenly arranged along the width direction (X-axis direction) of the display area 1021. Each pressure actuation unit 1031 is connected to the controller, and each pressure actuation unit 1031 can operate independently. In other embodiments, the multiple pressure actuation units 1031 can also be evenly arranged in an array. The pressure actuation units 1031 can be implemented using structures such as miniature electromagnetic push rods, servo-driven plungers, piezoelectric actuators, and pneumatic miniature pistons. In the initial state, the side surface of each pressure actuation unit 1031 facing the pile structure 1022 does not contact the end of the pile structure 1022 when it is upright. Under the control of the controller, the pressure actuation unit 1031 can move toward the pile structure 1022 and apply pressure to the pile structure 1022, causing the pile structure 1022 to lie down. In this way, the pattern in the display area 1021 can be displayed by controlling different pressure actuation units 1031.
[0059] In a specific implementation, the fabric body 102 can be a roller blind type, a lifting type, or a sliding type. One end of the fabric body 102 is provided with a driving device connected to the controller, which can drive the fabric body 102 to unfold and retract. The pattern writing device 103 is provided at the end of the fabric body 102 corresponding to the driving device. When the fabric body 102 is unfolded under the drive of the driving device, the pattern writing device 103 can periodically contact the surface of the fabric body 102. Each time the pattern writing device 103 contacts the surface of the fabric body 102, it can form one or more rows of patterns on the surface of the fabric body 102. Until the fabric body 102 is fully unfolded, the pattern writing device 103 can form a complete pattern on the fabric body 102. In some other embodiments, the fabric body 102 may also be a non-shrinkable structure. The pattern writing device 103 is disposed at one end of the fabric body 102. The pattern writing device 103 may be provided with a corresponding driving device to move relative to the length direction (Y-axis direction) or width direction of the fabric body 102 under the drive of the driving device, and periodically contact the surface of the fabric body 102 during the movement, thereby forming a corresponding pattern on the fabric body 102.
[0060] In one exemplary embodiment, such as Figure 5 As shown, a fabric display control method is provided, which is applied to... Figure 1 The following steps are used as an example to illustrate the process, taking controller 104 as an example: 501 to 504. Wherein:
[0061] Step 501: Obtain the original image.
[0062] The original image, as image data that presents the pattern on the fabric itself, can be a photograph taken by a digital camera, an image generated by computer graphics generation software, a scanned image, an image selected from an image database, etc.
[0063] For example, when there is a display requirement, a user can select the original image to be displayed on the fabric body from the image database via the terminal and send it to the controller. The controller can receive the original image sent by the user via the terminal. In some other embodiments, the user can also take photos in real time and send the photos as the original image to the controller via the terminal. The user can also input text descriptions about the images via the terminal, and the graphics generation software in the terminal will generate the original image based on the text descriptions and send it to the controller.
[0064] Step 502: Determine the display resolution of the display area in the fabric body.
[0065] The fabric itself refers to a textile material product with an oriented pile structure that serves as the carrier for the pattern. The fabric itself can be the curtain fabric in an indoor motorized curtain, or the sunshade in a car interior. The fabric itself can include, but is not limited to, suede, velvet, flocked fabric, and corduroy. Through its oriented pile structure, the fabric itself can possess specific optical properties. When the pile structure is altered under external force, different visual effects can be achieved due to differences in light reflection. For example, the pile structure on the fabric itself can be altered under the action of a pattern writing device to adjust the image presented by the fabric.
[0066] The display area refers to a specific area on the fabric body pre-defined for displaying a pattern. The display area can be a portion of the fabric body or the entire surface of the fabric body. The shape and size of the display area can be determined according to actual needs, such as rectangular, circular, or irregular shapes. Display resolution is used to represent the number of pattern details that can be displayed per unit length within the display area, and can be measured by pixel density. Display resolution can be determined based on the size of the display area and the unit writing range of the pattern writing device.
[0067] The unit write range refers to the smallest range within which a pattern writing device can change the collapsed state of the pile structure in a single operation. The unit write range reflects the precision of the pattern writing device. It can be expressed in units of length or area, such as millimeters, centimeters, or square centimeters. A smaller unit write range indicates higher precision, enabling more accurate adjustments to the pile structure within a smaller area, thus achieving higher resolution pattern rendering.
[0068] For example, the controller can determine the size of the display area in the fabric body and the unit writing range of the pattern writing device, and determine the display resolution of the display area based on the size of the display area and the unit writing range of the pattern writing device.
[0069] Step 503: Align the original image with the display area according to the display resolution to obtain the target image, and determine the control parameters for the pattern writing device based on the target image.
[0070] The target image refers to an image whose resolution matches the display resolution of the display area after processing the original image according to the display resolution. The target image can be obtained by scaling, cropping, or performing other operations on the original image. Control parameters are parameters used to control the operation of the pattern writing device. These parameters determine how the pattern writing device changes the state of the pile structure on the fabric to achieve the pattern presentation corresponding to the target image. Specifically, control parameters may include, but are not limited to, the writing force, writing speed, and writing direction. By determining the control parameters, it can be ensured that the pattern writing device can accurately change the state of the pile structure according to the requirements of the target image, thereby presenting a high-quality pattern on the fabric.
[0071] For example, the controller can scale, crop, etc., the original image according to the display resolution to align the original image with the display area to obtain the target image. Then, the controller can determine control parameters for the pattern writing device based on the target image.
[0072] Step 504: Based on the control parameters, the pattern writing device is controlled to change the lying state of the pile structure on the fabric body so as to present the pattern corresponding to the target image in the display area.
[0073] For example, the controller can send control parameters to the pattern writing device to control the pattern writing device to contact the pile structure on the fabric body according to the control parameters, so as to change the lying state of the pile structure, such as changing the lying direction and degree of the pile structure, so that the pile structure can reflect light differently in different lying states, and can present different gloss and pattern effects visually, so as to present a pattern corresponding to the target image in the display area on the surface of the fabric body.
[0074] In the aforementioned fabric display control method, the following steps are taken: First, an original image is acquired. Then, the display resolution of the display area within the fabric body is determined. This resolution is based on the size of the display area and the unit writing range of the pattern writing device. The pattern writing device is used to change the flattening state of the pile structure on the fabric body to adjust the image presented by the fabric body. Next, the original image is aligned with the display area according to the display resolution to obtain a target image. Control parameters for the pattern writing device are then determined based on the target image. Based on these control parameters, the pattern writing device is controlled to change the flattening state of the pile structure on the fabric body to present the pattern corresponding to the target image in the display area. By first acquiring the original image and determining the display resolution of the display area within the fabric body (which can be comprehensively determined based on the size of the display area and the unit writing range of the pattern writing device), and then aligning the original image with the display area according to the display resolution to obtain the target image, control parameters are determined based on the target image. These control parameters are then used to control the pattern writing device to change the flattening state of the pile structure, thereby presenting the pattern corresponding to the target image in the display area. This allows for dynamic and programmable display of patterns on the fabric body, effectively improving the presentation effect of fabric patterns and meeting diverse personalized display needs.
[0075] In one embodiment, determining the display resolution of the display area in the fabric body includes:
[0076] The display area in the fabric body used to present the pattern corresponding to the original image is determined; the unit writing range of the pattern writing device in the display area is determined according to the number of pressure actuation units included in the pattern writing device; the pressure actuation unit is used to change the folding state of the pile structure included in at least one single display pixel in the display area; the size mapping relationship between the size of the display area and the size of the unit writing range is determined, and the display resolution of the display area is determined based on the size mapping relationship.
[0077] The pressure actuation unit is a component of the pattern writing device. It applies pressure to the pile structure to change its collapsed state. The pattern writing device can include multiple pressure actuation units arranged side-by-side, each capable of independent operation to apply pressure to the pile structure in a specific area. Each pressure actuation unit can contact the pile structure within a certain range (i.e., a single display pixel) to change the collapsed state of the pile structure within that range. A single display pixel is the smallest area capable of independently presenting a pattern state. A single display pixel can be composed of a certain number of pile structures. By changing the collapsed state of the pile structures at corresponding positions, different visual effects can be presented, thus forming the entire pattern. In specific implementation, the size of a single display pixel can be determined based on the effective contact area of the pressure actuation unit when it contacts the pile structure. For example, in... Figure 3In this design, the pattern writing device includes 20 pressure actuation units arranged side by side. Each operation of the pattern writing device can complete the pattern writing of 20 display pixels, meaning the unit writing range of the pattern writing device is 20 display pixels. Each operation of a pressure actuation unit can change the lying state of the pile structure in one display pixel. In other embodiments, the size of the pressure actuation unit can also be larger than the size of a single display pixel, meaning one pressure actuation unit can change the lying state of the pile structure in two or more display pixels; for example, in the edge region of the fabric body, a larger pressure actuation unit can be used to form the border of the pattern at the edge of the display area.
[0078] Size mapping refers to the correspondence between the size of the display area and the size of the unit write range. Size mapping can include a first proportional relationship of the unit write range in the width direction of the display area and a second proportional relationship in the length direction. The first proportional relationship refers to the correspondence between the width of the display area and the width of the unit write range in the width direction (X-axis direction), and the second proportional relationship refers to the correspondence between the length of the display area and the length of the unit write range in the length direction (Y-axis direction).
[0079] For example, in Figure 2 The display area shown is a rectangle with a width of 20cm and a height of 20cm. Each display pixel is a 1cm x 1cm area. This display area has 20 rows and 20 columns, totaling 400 display pixels, with a display resolution of 20 x 20. The unit writing range is determined by the pattern writing device. For example, if the effective area of each pressure actuation unit in contact with the pile structure is 1cm x 1cm, then the unit writing range of the pattern writing device, which includes 20 pressure actuation units, is 20cm x 1cm. That is, the pattern writing device can complete the writing of 20 display pixels with each contact with the pile structure. Since the pressure actuation units in the pattern writing device are distributed along the width direction of the display area, the first ratio between the width of the display area and the width of the unit writing range is 1:1, which means that the pattern writing device can complete the writing of one row of patterns in the display area with one action. The second ratio between the length of the display area and the length of the unit writing range is 20:1, which means that the pattern writing device needs to take 20 actions to complete the writing of one column of patterns (i.e., the writing of the entire pattern) in the display area. In some embodiments, the size and shape of the unit writing range vary depending on the number and arrangement of the pressure actuators in the pattern writing device. For example, if the pressure actuators in the pattern writing device are arranged in a row, the unit writing range is 20 × 1 display pixels. If the pressure actuators are arranged in two rows, the unit writing range is 20 × 2 display pixels.
[0080] For example, the controller can determine the display area in the fabric body for presenting the pattern corresponding to the original image based on the size and number of the original image. For instance, the controller can determine the proportion of the original image and determine the area in the fabric body with the corresponding proportion as the display area. Alternatively, the controller can determine the area of each original image in the fabric body as the display area of each original image if multiple original images need to be presented.
[0081] The controller can then determine the number of effective pressure actuators in the pattern writing device, i.e., the number of controllable pressure actuators (usually all). Based on the number of pressure actuators included in the pattern writing device and the size of each pressure actuator, the controller can determine the entire writing range of the pattern writing device, i.e., the range of pixels that the pattern writing device can write in the display area at one time.
[0082] Finally, the controller can determine the size of the display area, namely the width and height of the display area, and determine a first proportional relationship between the display area and the unit write range based on the width of the display area and the width of the unit write range, and determine a second proportional relationship between the display area and the unit write range based on the length of the display area and the length of the unit write range, and determine the display resolution of the display area based on the first proportional relationship and the second proportional relationship. For example, the controller can determine the number of display pixels in each row of the display area based on the number of individual display pixels acting on the unit write range in the width direction and a first ratio relationship. For instance, 20 pressure actuation units arranged side by side correspond to 20 display pixels in the same row. When the first ratio relationship is 1:1, the number of display pixels in each row of the display area is 20. The controller can also determine the number of display pixels in each column of the display area based on the number of individual display pixels acting on the unit write range in the length direction and a second ratio relationship. For instance, a pressure actuation unit arranged in a single row corresponds to 1 display pixel in the same column. When the second ratio relationship is 20:1, the number of display pixels in each column of the display area is 20. Thus, the display resolution of the display area can be determined by the number of display pixels in each row and each column.
[0083] In this embodiment, by determining the display area of the fabric body and the unit writing range based on the number of pressure actuation units, the display resolution of the display area is determined based on the size mapping relationship between the size of the display area and the unit writing range. This provides a resolution basis for the subsequent alignment of the original image with the display area, ensuring the accurate conversion of the original image.
[0084] In one embodiment, such as Figure 6As shown, the original image is aligned with the display area according to the display resolution to obtain the target image, and control parameters for the pattern writing device are determined based on the target image, including:
[0085] Step 601: Align the original image with the display area according to the display resolution and the original image resolution to obtain the target image.
[0086] The image resolution of the original image refers to the number of pixels per unit length in the original image. Image resolution can be determined based on the data characteristics of the original image itself (such as pixel arrangement, size, etc.) or a preset standard.
[0087] For example, the controller can determine the ratio between the display resolution and the image resolution of the original image. For instance, the controller can determine the pixel ratio of the display resolution and the image resolution in the length and width directions. Then, based on the ratio between the display resolution and the image resolution of the original image, the controller can align the original image with the display area to perform resolution adaptation, etc., to obtain the target image.
[0088] In an optional embodiment, when determining the target image, the controller can, for each display pixel included in the display area, determine the image pixel corresponding to the pixel position of the target display pixel and the corresponding neighboring pixels in the original image, based on the display resolution and the image resolution of the original image. An image pixel refers to a single pixel point in the original image whose position is determined by the ratio between the display pixel position and the resolution. Neighboring pixels refer to adjacent pixels within a certain range surrounding the image pixel in the original image. That is, the controller can determine the image pixel by performing a conversion according to the resolution ratio, or by using coordinate mapping and interpolation to determine the image pixels corresponding to each display pixel in the original image, and then determine the neighboring pixels corresponding to the image pixel based on a preset neighborhood range (such as a 3×3 or 5×5 pixel matrix) or a dynamically calculated neighborhood radius. The controller can determine the pixel values of an image pixel and its corresponding neighboring pixels, and then fuse these pixel values. For example, the controller can determine the weights of each neighboring pixel and the image pixel based on their distances, and then perform weighted fusion of the pixel values according to these weights to obtain the fused pixel values. Finally, the controller can use the fused pixel values to update the image pixels, obtain the target pixels, extract the target pixels sequentially, and rearrange them to obtain the target image.
[0089] Step 602: Determine the environmental information of the environment in which the fabric body is located.
[0090] Among these, environmental information refers to relevant information about the environment in which the fabric is situated. Environmental information can be factors that affect the display effect of the fabric. For example, environmental information may include, but is not limited to, at least one of lighting information and object information of the object displayed on the fabric. Lighting information refers to data related to the lighting conditions in the environment in which the fabric is situated, and may include, but is not limited to, light intensity, light angle, and light color. For example, different light intensities will cause differences in the brightness and darkness of the pattern presented on the fabric; the pattern may be clearer under strong light and more blurred under weak light. Similarly, the direction of light will affect the three-dimensionality and shadow effects of the pattern presented on the fabric. The object information displayed by the fabric body refers to the correspondence between the pattern presented on the fabric body that can be seen or observed. For example, when the fabric body is a sunroof sunshade of a vehicle, the object it displays can be the driver and passengers inside the vehicle. Similarly, when the fabric body is a sunshade for a side window or a rear windshield of a vehicle, the object it displays can be the driver and passengers inside the vehicle or people outside the vehicle. Due to the different lighting and viewing angles of different objects, the pattern itself or the effect of the pattern presented by the fabric body observed by the object will be different.
[0091] For example, the controller can determine the environmental information of the fabric body; for instance, light sensors, position sensors, etc., can be installed in appropriate areas of the fabric body to collect lighting information of the area where the fabric body is located, or the position and lighting information of the displayed object. The controller can obtain the environmental information of the environment in which the fabric body is located by acquiring data collected by various sensors in the environment in which the fabric body is located.
[0092] Step 603: Determine the control parameters for the pattern writing device based on the target image and environmental information.
[0093] For example, the controller can control the generation process of control parameters of the pattern writing device based on at least one of the illumination information and object information of the object displayed by the fabric body and the target image, so as to integrate the corresponding environmental information into the control parameters.
[0094] In this embodiment, by determining the environmental information of the target image and the environment in which the fabric body is located, and then combining the target image and the environmental information to determine the control parameters for the pattern writing device, the control parameters are generated by comprehensively considering the external factors that affect the pattern presentation effect of the fabric body. This allows the pattern display on the fabric body to better adapt to different environments, which is beneficial to improving the pattern presentation effect and enhancing the visual effect of the fabric body in different scenarios.
[0095] In one embodiment, determining control parameters for the pattern writing device based on the target image and environmental information includes:
[0096] The target pixels in the target image are binarized based on the environmental information to obtain a binary dot matrix of the target image. The binary dot matrix includes multiple binary elements, which are used to characterize the execution state of the corresponding pressure execution unit in the pattern writing device. The binary elements in the binary dot matrix are encoded to obtain the control parameters corresponding to each pressure execution unit.
[0097] In this context, target pixels refer to the constituent pixels in a target image. Each target pixel in the target image has a specific pixel location (i.e., coordinates in the image coordinate system) and pixel value. Binarization is the process of converting the continuous tonal attributes of each target pixel in the target image into two possible values (usually 0 and 1). After binarization, the target image can become a binary image composed of two colors, such as a binary image composed of black and white, in which each target pixel is either black or white. For example, for a target image containing text, binarization can clearly separate the text from the background, making the text appear white and the background black.
[0098] A binary dot matrix is a matrix-like data structure composed of the binary results of each target pixel in a target image after binarization. A binary dot matrix includes multiple binary elements arranged in an array. Each binary element corresponds to a target pixel in the target image, and its value is either 0 or 1, representing different pixel attributes. For example, a target image of size m×n can be binarized into an m×n binary dot matrix, where m represents the number of rows and n represents the number of columns. The binary elements are used to characterize the execution state of the corresponding pressure actuator in the pattern writing device; for example, when a binary element is 1, it indicates that pressure is applied to the pressure actuator, controlling it to extend towards the fabric body to change the collapsed state of the pile structure. When a binary element is 0, it indicates that no pressure is applied to the pressure actuator, and the pressure actuator remains in its initial position (i.e., a position away from the fabric body and not in contact with the pile structure).
[0099] Encoding refers to the process of converting the binary elements in a binary matrix into a data structure that the controller can recognize, so that the controller can control the pressure execution unit. In practice, encoding can be implemented using binary encoding, Gray code encoding, or other methods.
[0100] For example, the controller can perform grayscale processing on each target pixel included in the target image to obtain a grayscale image corresponding to the target image. The controller can correct the grayscale value of each grayscale pixel in the grayscale image based on environmental information to obtain the corrected grayscale value. For each grayscale pixel, the controller can perform binarization processing on the corrected grayscale value corresponding to the grayscale pixel. For example, the controller can use the maximum inter-class variance method or a fixed threshold to perform binarization processing on each corrected grayscale value. For example, with the fixed threshold method, the controller can set the value of grayscale pixels with a corrected grayscale value greater than the fixed threshold to 1, and set the value of grayscale pixels with a grayscale value less than or equal to the fixed threshold to 0, so as to obtain the binary dot matrix of the target image. After obtaining the binary matrix, the controller can encode the binary elements in the binary matrix in a column-major manner. That is, for each column of binary elements, the controller can pack them into a byte stream. Taking a binary array with 20 rows and 20 columns of binary elements as an example, for the 20 rows of binary elements in the first column, the controller can pack the binary elements of rows 1 to 8 into one byte, the binary elements of rows 9 to 16 into one byte, and the binary elements of rows 17 to 20 (if there are less than 8 rows, zeros can be added at the end) into one byte. That is, the complete action process of a pressure execution unit can be controlled by 3 bytes. In this way, each column is encoded to obtain the control parameters corresponding to each pressure execution unit.
[0101] In an optional embodiment, when the controller corrects grayscale values based on environmental information, it can determine the corresponding correction parameters by querying the mapping relationship between environmental information and correction parameters, and then superimpose the correction parameters onto the grayscale values to obtain the corrected grayscale values. Specifically, the mapping relationship between environmental information and correction parameters can be obtained experimentally. Taking a side window sunshade in a vehicle as an example, the real-time illumination intensity is obtained, and experiments can determine how much illumination intensity needs to be compensated to achieve a better pattern presentation effect on the fabric. The illumination intensity to be compensated is then converted into the corresponding grayscale value to obtain the correction parameters corresponding to that real-time illumination intensity. The same applies to the light angle, light color, and the position and angle of the displayed object; in this way, the mapping relationship between different environmental information and the correction parameters of grayscale values can be obtained. In other embodiments, since the light intensity and light angle of the display pixels at different positions on the fabric body are different, when the controller determines the correction parameters of the grayscale pixel corresponding to a certain display pixel, it can also obtain the correction parameters of the display pixel in terms of corresponding light intensity, light angle, light color, position and angle of the displayed object, etc., and fuse the correction parameters in a weighted manner to obtain the correction parameters of the grayscale pixel corresponding to the display pixel.
[0102] In an optional embodiment, after obtaining the various corrected grayscale values, the controller can further divide the grayscale values 0-255 evenly into multiple grayscale intervals, each grayscale interval can be configured with a label. For example, 0-255 can be evenly divided into 8 grayscale intervals, each grayscale interval is represented by labels 1-8. For example, 0-31 is the first grayscale interval, and its label is 1. If the corrected grayscale value of a certain grayscale pixel is 13, then the value of that grayscale pixel is 1. Similarly, 32-63 is the second grayscale interval, and its label is 2. If the corrected grayscale value of a certain grayscale pixel is 58, then the value of that grayscale pixel is 2. In this way, a data matrix with element values of 1-8 can be constructed. Each tag corresponds to an execution state of the pressure actuator. For example, tag 1 corresponds to the execution state where the pressure actuator remains in contact with the pile structure, tag 8 corresponds to the execution state where the pressure actuator is in complete contact with the pile structure (i.e., the pressure actuator moves towards the fabric body to its position limit), and tags 2 to 7 correspond to different states as the pressure actuator and the pile structure gradually move from no contact to complete contact. That is, from tag 1 to tag 8, the distance between the pressure actuator and the fabric body gradually decreases, so that the pile structure can exhibit different degrees of bending. Afterwards, the controller can encode the constructed data matrix to obtain the control parameters corresponding to each pressure actuator.
[0103] In this embodiment, the target pixels of the target image are binarized according to the environmental information to obtain a binary dot matrix. Then, the binary elements in the binary dot matrix can be encoded to obtain the control parameters of the pattern writing device. The complex target image can be converted into a binary form and the binary matrix can be encoded to obtain the control parameters of each pressure execution unit in the pattern writing device. This allows for precise control of each pressure execution unit, ensuring that the pattern writing device can accurately present the expected pattern on the fabric body according to the target image and environmental requirements.
[0104] In one embodiment, based on control parameters, the pattern writing device is controlled to change the flattening state of the pile structure on the fabric body to present a pattern corresponding to the target image in the display area, including:
[0105] Based on the unit writing range, the control timing of each sub-control parameter included in the control parameters is determined; based on the control timing of each sub-control parameter, the pattern writing device is sequentially controlled to change the lying state of the corresponding pile structure on the fabric body according to the sub-control parameter, so as to present the pattern corresponding to the target image in the display area.
[0106] Here, sub-control parameters can be specific control parameters divided according to each unit write range after decomposing the entire pattern writing operation. Each sub-control parameter corresponds to one unit write range. Since the entire pattern is composed of multiple unit write ranges, dividing the control parameters into multiple sub-control parameters allows for independent control of each small area. For example, in... Figure 2 In the displayed area, each row of display pixels corresponds to one unit of write range. The control parameters of the pattern writing device determined for each row of display pixels are called sub-control parameters. Control timing refers to the order in which each sub-control parameter is executed during the pattern writing process. Control timing is used to control the start and end times of each sub-control parameter to ensure that the pattern writing device can write patterns in sequence.
[0107] For example, the controller can determine the unit writing range of the pattern writing device. For instance, the controller determines the unit writing range of the pattern writing device through a pressure actuation unit included in the pattern writing device. Based on the unit writing range, the controller can determine each sub-control parameter and its corresponding control timing from the control parameters. Based on the control timing of each sub-control parameter, the controller can sequentially control the pattern writing device to change the lying state of the corresponding pile structure on the fabric body according to the sub-control parameters, so as to present the pattern corresponding to the target image in the display area.
[0108] In an optional embodiment, since the control parameters are encapsulated in column-major order as byte streams, the control instructions for each pressure execution unit within the unit write range are encapsulated in byte streams of different columns. For example, taking a 3×3 display area as an example, which includes 3 rows and 3 columns of display pixels, the pattern writing device includes 3 pressure execution units. Correspondingly, the unit write range of the pattern writing device is 3×1, that is, the pattern writing device can complete the writing of one row of the pattern with each write, and repeating it three times can complete the writing of the entire pattern. The control parameters of the pattern writing device can be represented as [A11,A12,A13;B11,B12,B13;C11,C12,C13], where A11, A12, and A13 are the first to third rows of the first row, respectively. The control instructions corresponding to the patterns in the third column are B11, B12, and B13, which are the control instructions for forming the patterns in the first to third columns of the second row, respectively. C11, C12, and C13 are the control instructions for forming the patterns in the first to third columns of the third row, respectively. When the controller encapsulates these control instructions, it follows the column priority order, that is, it packs A11, B11, and C11 into a byte stream, packs A12, B12, and C12 into a byte stream, and packs A13, B13, and C13 into a byte stream. The controller can extract the control instructions A11, A12, and A13 from each byte stream according to the unit write range, and use them as sub-control parameters of the first row. The controller also determines the control timing corresponding to each sub-control parameter according to the position of the control instructions A11, A12, and A13 in their respective byte streams.
[0109] The controller can send A11, A12, and A13 to the pattern writing device according to the corresponding control timing sequence, so as to control each pressure actuation unit to act according to A11, A12, and A13, thereby obtaining the pattern of the first row. During this process, the controller can obtain the position synchronization module set at the fabric body to determine the relative position of the fabric body and the pattern writing device. When it detects that the pattern writing device is located at the position of the second row in the display area of the fabric body, it extracts the control instructions B11, B12, and B13 of the second row from each byte stream, so as to control each pressure actuation unit to act according to B11, B12, and B13, thereby obtaining the pattern of the second row. This process is repeated until the complete pattern is presented in the display area.
[0110] In this embodiment, by determining the control timing of each sub-control parameter, and then controlling the pattern writing device to change the pile structure of the corresponding position of the fabric according to the sub-control parameter in sequence, the pattern writing device can be controlled in sequence to ensure that the pile structure of each position changes according to the predetermined requirements, thereby accurately and orderly presenting the pattern corresponding to the target image in the display area and improving the pattern display effect in the fabric body.
[0111] In one embodiment, the fabric display control method further includes:
[0112] If the fabric body meets the pattern clearing triggering conditions, determine the clearing method for the pattern presented in the display area; and control the pattern writing device to clear the pattern presented in the display area according to the clearing method.
[0113] The pattern removal trigger condition refers to the criteria used to determine whether the pattern on the fabric needs to be removed. The pattern removal trigger condition can be set based on various factors such as display time, scene, and user needs; for example, the removal operation might be automatically triggered after the pattern on the fabric has been displayed for a certain period, or it might be triggered when the scene changes (e.g., the pattern on a car sunshade is displayed, and the removal operation is triggered after the vehicle is turned off or the driver gets out), or the user can manually trigger the pattern removal operation according to their needs. The removal method refers to the specific methods and means used to remove the pattern displayed on the fabric.
[0114] For example, the controller can obtain the pattern clearing trigger condition. Taking the display time as an example, the pattern clearing trigger condition can be half an hour. The controller can start timing from the start time of the pattern presentation on the fabric body. When the presentation time reaches half an hour, the controller can determine the clearing method for the pattern presented in the display area. For example, the controller can control all pressure actuation units in the pattern writing device to extend and control the pattern writing device to move relative to the fabric body so that the pile structure lies down in the same direction, thereby clearing the pattern presented in the display area.
[0115] In an optional embodiment, the removal method can also be achieved through a separate reset structure. For example, an additional flat roller or brush roller can be set. The flat roller or brush roller is controlled by the controller to move relative to the fabric body after contacting the pile structure. The flat roller can be made of smooth silicone or polyurethane material. When resetting, the brush roller can be controlled to rotate in the opposite direction to the natural state of the pile structure, so that the pile structure falls in the same direction during the operation, thereby removing the pattern presented in the display area.
[0116] In this embodiment, when the fabric body meets the pattern clearing trigger condition, the clearing method of the pattern in the display area can be determined. Then, the pattern writing device is controlled to clear the pattern according to the clearing method, so as to eliminate or replace the pattern, which is beneficial to improve the flexibility and effect of pattern presentation and meet diverse usage needs.
[0117] In one embodiment, the fabric display control method further includes:
[0118] Determine the display state of the pattern presented in the display area; if the display state meets the pattern update conditions, determine the replacement image; control the pattern writing device to change the lying state of the pile structure on the fabric body so as to present the pattern corresponding to the replacement image in the display area.
[0119] The display status of a pattern refers to the current state of the pattern presented in the display area, which may include, but is not limited to, the time status of the pattern display, the integrity of the pattern, and whether there is any distortion. The pattern update condition refers to the condition used to determine whether the display status of the pattern in the current display area needs to be updated to a new pattern, i.e., whether it needs to be updated to the pattern corresponding to the replacement image. The pattern update condition can be based on time factors (such as reaching a specific time point or time period) and display status parameters (such as integrity being lower than a set threshold). For example, under time-triggered conditions, such as reaching a specific moment or displaying for a certain period of time, the pattern in the display area may be automatically updated; under display status-triggered conditions, such as when the integrity of the pattern is lower than 70%, the pattern in the display area may be automatically updated. The replacement image refers to the new image determined to replace the original pattern in the current display area after the pattern update condition is met. The replacement image can be an image pre-stored in the system or an image generated or acquired in real time. For example, in the case of a sunshade in a vehicle, a matching image can be dynamically generated based on the vehicle's environment.
[0120] For example, the controller can acquire an image of the pattern displayed in the display area, and determine the completeness of the pattern image in the display area by matching the image with the original image, thereby obtaining the display state of the pattern in the display area. The controller can obtain a completeness threshold as a pattern update condition, and compare the completeness of the pattern image in the display area with the completeness threshold. If the completeness of the pattern image in the display area is less than the completeness threshold, the display state meets the pattern update condition. At this time, the controller can obtain a new image from the pre-stored system as a replacement image, or send a prompt message to the user to remind the user to reselect an image as a replacement image. Afterwards, the controller can use the replacement image as the original image and control the pattern writing device to change the lying state of the pile structure on the fabric body in accordance with the above embodiments, so as to display the pattern corresponding to the replacement image in the display area.
[0121] In some optional embodiments, the controller can acquire images of the display area within the fabric body when image capture conditions are met. Specifically, the controller can obtain real-time environmental information of the fabric body, which may include, but is not limited to, information that may affect the pattern display effect within the fabric body, such as weather information (wind can change the folding state of the pile structure) and lighting information (different lighting conditions affect the light reflected by the pile structure), etc. Alternatively, the controller can determine that image capture conditions are met after the pattern has been displayed for a certain period of time, at which point the controller can acquire images of the display area within the fabric body.
[0122] In an optional embodiment, when determining the completeness of the image of the pattern presented in the display area, the controller can identify the image of the display area in the collected fabric body. For example, the controller can extract the features of the pattern in the display area and restore the corresponding restored image, perform similarity matching between the restored image and the original image, obtain the similarity between the restored image and the original image, and determine the similarity as the completeness of the image of the pattern presented in the display area.
[0123] In this embodiment, by determining the display state of the pattern in the display area and determining the replacement image when the display state meets the pattern update conditions, the pattern content presented on the fabric body can be changed in a timely manner according to the needs, so that the fabric body can flexibly adapt to different scenarios and needs and quickly present diverse patterns.
[0124] In one application example, this application provides a fabric display control method, which can be applied to a hardware architecture including a fabric body, a pattern writing device, a position synchronization module, an image processing and control module, a pattern reset device, and a driving and human-computer interaction mechanism. Wherein:
[0125] The fabric itself can be made of microfiber suede or flocked fabric, with fine pile, sensitive folding response, and good recovery; the fabric itself can be roller blind, lift-up or sliding type, suitable for indoor curtains or car sunshades; on the fabric itself, the compressed area appears dark or light color due to the folding of the pile structure, which contrasts with the uncompressed area.
[0126] The pattern writing device is fixed at one side of the fabric's running path (such as within a curtain track or sunshade curtain guide). The device includes multiple independently controllable pressure actuators evenly distributed along the width (X-axis) of the fabric. Each pressure actuator corresponds to a single display pixel in the fabric's display area. These actuators can be implemented using structures such as miniature electromagnetic push rods, servo-driven silicone plungers, piezoelectric actuators, or pneumatic miniature pistons. Each actuator is connected to a controller and can be triggered independently. A position synchronization module detects the real-time position of the fabric, enabling spatial scanning synchronization. When the fabric moves to the corresponding position, the controller controls the pattern writing device to operate according to the corresponding control parameters. Specifically, the position synchronization module can be implemented using, but is not limited to, a rotary encoder (mounted on the motor shaft), a photoelectric sensor array, or a stepper motor pulse counter to determine the triggering timing of the pattern writing device when writing each row of patterns. The pattern writing device and the position synchronization module work together to write rows and columns of patterns in the display area.
[0127] The image processing and control module includes an image receiving unit, an image processing unit, a timing control unit, and a drive output unit. The image receiving unit receives the original image via wired or wireless means. The image processing unit converts the received original image into a binary image to obtain a binary dot matrix. The timing control unit encodes the binary dot matrix to obtain corresponding control parameters. The drive output unit outputs corresponding sub-control parameters based on the control parameters and according to the control timing sequence to trigger the pattern writing device. Optionally, during image conversion, the image processing unit first reads the horizontal pixel count and vertical pixel density in the display area and determines the size and resolution of the display area. Then, it scales the received original image to the target size to obtain the target image, such as using bicubic interpolation to avoid distortion. Next, it performs grayscale processing on the target image to obtain the grayscale value of each pixel and applies Gaussian blur to eliminate high-frequency noise in the grayscale image. Finally, it binarizes each grayscale value using the Otsu's method or a fixed threshold (e.g., fixed threshold = 128) to obtain a binary dot matrix.
[0128] The pattern reset device can be implemented based on a pattern writing device or an independent reset mechanism. When using a pattern writing device, the controller can control all pressure actuators to press down simultaneously when the fabric body is running in the reverse direction, so that the pile structure is uniformly flattened and the pattern is eliminated. When using an independent reset mechanism, a flat pressure roller or a soft brush roller can be set at the other end of the track of the fabric body. The flat pressure roller can be made of silicone or polyurethane material with a smooth surface to apply uniform pressure. The rotation direction of the soft brush roller is opposite to the natural direction of the pile, and it gently brushes to restore the original state. The controller can control the flat pressure roller or soft brush roller to contact the fabric body during reset to eliminate the pattern.
[0129] Based on the above architecture, the fabric display control method in this example includes a pattern writing process and a pattern reset process. Wherein:
[0130] 1. Pattern writing process.
[0131] After the user selects the original image, the original image is sent to the image processing and control module, which then generates the corresponding control parameters.
[0132] The controller controls the fabric to unfold at a uniform speed and, based on the position signal from the position synchronization module, triggers the pressure actuators in the corresponding columns row by row. This causes the pressure actuators to press the pile structure in the corresponding area, thereby changing the pile structure's flattened state and creating a contrasting sheen pattern. As the fabric unfolds, the pattern gradually emerges, as shown in the following process: Figure 7 , Figure 8 and Figure 9 As shown.
[0133] 2. Pattern reset process.
[0134] When the user issues a pattern clearing command or a timer is triggered, the controller can control the fabric body to run in reverse to the starting position.
[0135] During the operation of the fabric body, the controller controls all pattern writing devices to press down synchronously or controls the flat roller or brush roller to contact the surface of the fabric body, so that the pile structure is flattened in a uniform direction until the pattern disappears. The display area of the fabric body then returns to its initial state, ready for the next display.
[0136] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0137] Based on the same inventive concept, this application also provides a fabric display control device for implementing the fabric display control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more embodiments of the fabric display control device provided below can be found in the limitations of the fabric display control method described above, and will not be repeated here.
[0138] In one exemplary embodiment, such as Figure 10 As shown, a fabric display control device is provided, comprising: an image acquisition module 1001, a resolution determination module 1002, a parameter generation module 1003, and a display control module 1004, wherein:
[0139] Image acquisition module 1001 is used to acquire raw images;
[0140] The resolution determination module 1002 is used to determine the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device, the pattern writing device is used to change the lying state of the pile structure on the fabric body to adjust the image presented by the fabric body;
[0141] The parameter generation module 1003 is used to align the original image with the display area according to the display resolution to obtain the target image, and to determine the control parameters for the pattern writing device based on the target image.
[0142] The display control module 1004 is used to control the pattern writing device to change the lying state of the pile structure on the fabric body based on control parameters, so as to present the pattern corresponding to the target image in the display area.
[0143] In an optional embodiment, the resolution determination module 1002 is further configured to determine the display area in the fabric body for presenting the pattern corresponding to the original image; determine the unit writing range of the pattern writing device in the display area according to the number of pressure actuation units included in the pattern writing device; the pressure actuation unit is configured to change the folding state of the pile structure included in a single display pixel in the display area; determine the size mapping relationship between the size of the display area and the size of the unit writing range, and determine the display resolution of the display area based on the size mapping relationship.
[0144] In an optional embodiment, the parameter generation module 1003 is further configured to align the original image with the display area according to the display resolution and the image resolution of the original image to obtain a target image; determine the environmental information of the environment in which the fabric body is located; and determine the control parameters for the pattern writing device according to the target image and the environmental information.
[0145] In an optional embodiment, the parameter generation module 1003 is further configured to perform binarization processing on each target pixel included in the target image according to environmental information to obtain a binary dot matrix of the target image; the binary dot matrix includes multiple binary elements, which are used to characterize the execution state of the corresponding pressure execution unit in the pattern writing device; the binary elements included in the binary dot matrix are encoded to obtain control parameters corresponding to each pressure execution unit.
[0146] In an optional embodiment, the display control module 1004 is further configured to determine the control timing of each sub-control parameter included in the control parameters according to the unit writing range; based on the control timing of each sub-control parameter, the pattern writing device is sequentially controlled to change the lying state of the pile structure at the corresponding position on the fabric body according to the sub-control parameter, so as to present the pattern corresponding to the target image in the display area.
[0147] In an optional embodiment, the display control module 1004 is further configured to determine the clearing method for the pattern presented in the display area when the fabric body meets the pattern clearing triggering condition; and control the pattern writing device to clear the pattern presented in the display area according to the clearing method.
[0148] In an optional embodiment, the display control module 1004 is further configured to determine the display state of the pattern presented in the display area; determine a replacement image when the display state meets the pattern update conditions; and control the pattern writing device to change the lying state of the pile structure on the fabric body so as to present the pattern corresponding to the replacement image in the display area.
[0149] Each module in the aforementioned fabric display control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the controller in hardware form or independent of it, or stored in the memory of the controller in software form, so that the processor can call and execute the corresponding operations of each module.
[0150] In one exemplary embodiment, a controller is provided, which may be a server, and its internal structure diagram may be as follows: Figure 11As shown, the controller includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The controller's memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The controller's database stores data such as raw images, resolution, control parameters, and size mapping relationships. The controller's I / O interfaces are used for exchanging information between the processor and external devices. The controller's communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a fabric display control method.
[0151] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the controller to which the present application is applied. A specific controller may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0152] In one exemplary embodiment, a controller is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the fabric display control methods of the above embodiments.
[0153] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the fabric display control methods of the above embodiments.
[0154] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the fabric display control methods of the above embodiments.
[0155] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0156] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0157] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0158] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A fabric display control method, characterized in that, The method includes: Obtain the original image; The display resolution of the display area in the fabric body is determined; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device, the pattern writing device being used to change the lying state of the pile structure on the fabric body in order to adjust the image presented by the fabric body; According to the display resolution, the original image is aligned with the display area to obtain a target image, and control parameters for the pattern writing device are determined based on the target image; the control parameters are used to control the movement of the pressure actuation unit in the pattern writing device. Based on the control parameters, the pressure actuation unit in the pattern writing device is controlled to apply pressure to the pile structure on the fabric body to change the folded state of the pile structure on the fabric body, so that the pattern corresponding to the target image is presented in the display area.
2. The method according to claim 1, characterized in that, Determine the display resolution of the display area within the fabric body, including: Determine the display area within the fabric body used to present the pattern corresponding to the original image; The unit writing range of the pattern writing device in the display area is determined based on the number of pressure actuation units included in the pattern writing device; the pressure actuation unit is used to change the folded state of the velvet structure included in at least one individual display pixel in the display area; Determine the mapping relationship between the size of the display area and the size of the unit write range, and determine the display resolution of the display area based on the size mapping relationship.
3. The method according to claim 1, characterized in that, According to the display resolution, the original image is aligned with the display area to obtain a target image, and control parameters for the pattern writing device are determined based on the target image, including: Based on the display resolution and the image resolution of the original image, the original image is aligned with the display area to obtain the target image; Determine the environmental information of the environment in which the fabric body is located; Based on the target image and the environmental information, control parameters for the pattern writing device are determined.
4. The method according to claim 3, characterized in that, Based on the target image and the environmental information, control parameters for the pattern writing device are determined, including: The target pixels in the target image are binarized according to the environmental information to obtain a binary dot matrix of the target image; the binary dot matrix includes multiple binary elements, which are used to characterize the execution state of the corresponding pressure execution unit in the pattern writing device; The binary elements included in the binary dot matrix are encoded to obtain the control parameters corresponding to each pressure actuation unit.
5. The method according to claim 1, characterized in that, Based on the control parameters, the pressure actuation unit in the pattern writing device is controlled to apply pressure to the pile structure on the fabric body to change the collapsed state of the pile structure on the fabric body, including: Based on the unit write range, determine the control timing of each sub-control parameter included in the control parameters; Based on the control timing of each of the sub-control parameters, the pressure execution unit in the pattern writing device is sequentially controlled to apply pressure to the pile structure on the fabric body according to the sub-control parameters, so as to change the drooping state of the pile structure at the corresponding position on the fabric body.
6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: If the fabric body meets the pattern clearing trigger condition, determine the clearing method for the pattern presented in the display area; According to the clearing method, the pattern writing device is controlled to clear the pattern presented in the displayed area.
7. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Determine the display state of the pattern presented in the display area; If the display state meets the pattern update conditions, a replacement image is determined; The pattern writing device is controlled to change the lying state of the pile structure on the fabric body so as to present the pattern corresponding to the replacement image in the display area.
8. A fabric display control device, characterized in that, The device includes: The image acquisition module is used to acquire the original image; A resolution determination module is used to determine the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device, the pattern writing device is used to change the lying state of the pile structure on the fabric body to adjust the image presented by the fabric body; The parameter generation module is used to align the original image with the display area according to the display resolution to obtain a target image, and to determine control parameters for the pattern writing device based on the target image; the control parameters are used to control the movement of the pressure actuation unit in the pattern writing device. The display control module is used to control the pressure execution unit in the pattern writing device to apply pressure to the pile structure on the fabric body based on the control parameters, so as to change the lying state of the pile structure on the fabric body, so as to present the pattern corresponding to the target image in the display area.
9. A controller comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Quantitative measurement method and device for morphological characteristics of plant leaves
CN115719371A
Process design method for resisting down lodging of corduroy and corduroy fabric
CN119777047A