Image processing device and operation method thereof
Patent Information
- Application Number
- PCT/KR2023/018485
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-12-15
- Filing Date
- 2023-11-16
- Publication Date
- 2024-10-03
AI Technical Summary
Conventional methods for analyzing the shape of positive electrode active material particles in lithium secondary batteries are qualitative and require manual measurement, leading to low accuracy and difficulty in analyzing large quantities, with measurement values varying depending on the user.
An image processing device and method that uses an artificial intelligence model to automatically quantify the shape characteristics of positive electrode active material particles by acquiring images, generating binary images, and segmenting objects, minimizing user involvement and improving measurement accuracy.
Enables accurate and efficient quantitative analysis of large quantities of positive electrode active material particles, reducing user-dependent variability and enhancing the precision of lithium secondary battery performance analysis.
Smart Images

Figure KR2023018485_03102024_PF_FP_ABST
Abstract
Description
Image processing device and operating method thereof
[0001] Cross-citation with related applications
[0002] This invention claims the benefit of priority to Korean Patent Application No. 10-2022-0175984, Korean Patent Application No. 10-2022-0175985, and Korean Patent Application No. 10-2022-0175986, filed on December 15, 2022, the entire disclosure of which is incorporated herein by reference.
[0003] Technology field
[0004] The embodiments disclosed in this document relate to an image processing device and an operating method thereof.
[0005] As technological developments and demand for mobile devices and electric vehicles increase, the demand for lithium secondary batteries as an energy source is rapidly increasing.
[0006] A lithium secondary battery is manufactured by placing an electrode assembly composed of a positive electrode, a separator, and an anode into a battery case and injecting an electrolyte. The positive electrode is manufactured by coating a composition for forming a positive electrode active material layer, which includes a positive electrode active material, a conductive material, and a binder, on a positive electrode current collector, followed by drying and rolling. The negative electrode is manufactured by coating a composition for forming a negative electrode active material layer, which includes a negative electrode active material, a conductive material, and a binder, on a negative electrode current collector, followed by drying and rolling.
[0007] Meanwhile, the electrochemical performance of lithium secondary batteries is influenced not only by the composition of the positive and negative active material particles used, but also by the shape of the active material particles. This is because electrochemical properties such as electrode density, electrical conductivity, and resistance characteristics vary depending on the shape and particle size of the active material particles. Therefore, to manufacture lithium secondary batteries with the desired performance, it is necessary to accurately analyze the shape of the active material particles.
[0008] Conventionally, the shape of positive electrode active material particles has been analyzed using images obtained through a scanning electron microscope (SEM). However, while the conventional method of analyzing the shape of positive electrode active material using SEM images allows for qualitative analysis, quantitative analysis requires a person to manually select and measure individual positive electrode active material particles from the SEM images, and cannot be performed automatically. Therefore, not only is quantitative analysis of a large number of positive electrode active material particles difficult, but measurement values can vary depending on the measurer, resulting in low analysis accuracy.
[0009] The present invention is intended to solve the above problems and to provide a method capable of automatically quantitatively analyzing the shape characteristics of a large amount of positive electrode active material and / or precursor particles.
[0010] In addition, the present invention seeks to provide a quantitative analysis method that minimizes user involvement in order to solve the problem of reduced analysis accuracy due to differences in measurement values depending on the user.
[0011] An image processing device according to one embodiment disclosed in the present document may include an image acquisition unit that acquires active material images for a plurality of active materials, an artificial intelligence model learning unit that trains an artificial intelligence model using learning data including a plurality of reference active material images and a plurality of reference binary images or a plurality of reference boundary images corresponding to the plurality of reference active material images, an image generation unit that inputs the active material images into the artificial intelligence model to generate a binary image or a boundary image, an object identification unit that identifies a plurality of objects based on the binary image or the boundary image, and an image segmentation unit that segments the plurality of active materials included in the active material image based on the plurality of objects to obtain a segmentation image.
[0012] In one embodiment, the artificial intelligence model learning unit can train the artificial intelligence model so that the difference between the plurality of output images obtained by inputting the plurality of reference active material images into the artificial intelligence model and the plurality of reference binary images is less than or equal to a specified reference value.
[0013] In one embodiment, the plurality of reference active material images may include one or more first reference active material images and one or more second reference active material images, the plurality of reference binary images may include one or more first reference binary images and one or more second reference binary images, the first reference active material images may be obtained by photographing active material powder, the second reference active material images may be generated by applying a specified image processing algorithm to the first reference active material images, the first reference binary images may be binary images of the first reference active material images, and the second reference binary images may be binary images of the second reference active material images.
[0014] In one embodiment, the artificial intelligence model includes a plurality of layers, and at least one layer included in an encoding region and at least one layer included in a decoding region among the plurality of layers may be connected by a skip connection.
[0015] In one embodiment, the plurality of layers may have a structure in which the layers included in the decoding area sequentially connect a 2D convolution layer, a batch normalization layer, an activation layer, and an upsampling layer.
[0016] In one embodiment, the plurality of layers may have a structure in which the layers included in the encoding region sequentially connect a 2D convolution layer, a batch normalization layer, an activation layer, and a maximum pooling layer.
[0017] In one embodiment, the active material image may be an image based on a scanning electron microscope (SEM), a transmission electron microscope (TEM), an optical microscope (OM), a structured illumination microscopy (SIM), or a fused ion beam (FIB).
[0018] In one embodiment, the image segmentation unit can segment the plurality of active materials included in the active material image based on a watershed algorithm.
[0019] In one embodiment, the device further includes an information extraction unit, wherein the information extraction unit extracts information on the plurality of active materials based on the segmentation image, and the information on the plurality of active materials may include information on particle diameter, circumference, sphericity, aspect ratio, convexity, solidity, distribution, quantile value, or a combination thereof.
[0020] In one embodiment, the device further includes a boundary removal unit that removes a boundary from the active material image based on the boundary image to generate a boundary removal image, and the object identification unit can identify a plurality of objects included in the boundary removal image.
[0021] In one embodiment, the artificial intelligence model learning unit can train the artificial intelligence model so that the difference between the plurality of output images obtained by inputting the plurality of reference active material images into the artificial intelligence model and the plurality of reference boundary images is less than or equal to a specified reference value.
[0022] In one embodiment, the artificial intelligence model learning unit may calculate the difference between the plurality of output images and the plurality of reference boundary images based on a mean absolute error function, a root mean square error, a mean square error function, or a binary cross entropy loss function.
[0023] In one embodiment, the binary cross entropy loss function may be weighted to a given color.
[0024] In one embodiment, the method further comprises a distance transformation unit that transforms the binary image into a distance transformation image based on a distance transformation algorithm, and a binary image filtering unit that filters the binary image using a threshold value set based on the distance transformation image, wherein the object identification unit can identify a plurality of objects included in the filtered binary image.
[0025] In one embodiment, the distance transformation unit can generate the distance transformation image by calculating the distance from each pixel included in the binary image to the nearest black pixel and normalizing the calculated distance for each pixel.
[0026] In one embodiment, the distance transformation unit can generate the distance transformation image by identifying the maximum distance among the calculated distances for each of the pixels included in the binary image, and max-min normalizing the calculated distances for each of the pixels based on the maximum distance.
[0027] In one embodiment, the binary image filtering unit can filter the binary image by selecting pixels having a value lower than a specified threshold among pixels included in the distance transformation image, and setting the values of pixels corresponding to the selected pixels among pixels included in the binary image to a specified value.
[0028] In one embodiment, the threshold may be a value obtained by multiplying the normalized maximum distance of the distance transformed image by a specified ratio.
[0029] According to various embodiments disclosed in this document, an image processing device and an operating method thereof can automatically quantitatively analyze shape characteristics of a large number of positive electrode active material particles by acquiring active material images for a plurality of active materials, inputting the active material images into an artificial intelligence model to generate a binary image, identifying a plurality of objects included in the binary image, and then segmenting the plurality of active materials included in the active material image based on the plurality of objects.
[0030] According to various embodiments disclosed in this document, an image processing device and an operating method thereof can automatically quantitatively analyze shape characteristics of a large number of positive electrode active material particles by acquiring active material images for a plurality of active materials, inputting the active material images into an artificial intelligence model to generate a boundary image, removing a boundary from the active material image based on the boundary image to generate a boundary-removed image, identifying a plurality of objects included in the boundary-removed image, and then segmenting the plurality of active materials included in the active material image based on the plurality of objects.
[0031] According to various embodiments disclosed in this document, an image processing device and an operating method thereof can automatically quantitatively analyze shape characteristics of a large number of positive electrode active material particles by acquiring active material images for a plurality of active materials, inputting the active material images into an artificial intelligence model to generate a binary image, converting the binary image into a distance-transformed image based on a distance-transformed algorithm, filtering the binary image using a threshold value set based on the distance-transformed image, identifying a plurality of objects included in the filtered binary image, and then segmenting the plurality of active material objects included in the active material image based on the plurality of objects.
[0032] In addition, the image processing device and its operating method according to various embodiments disclosed in this document can minimize the problem of measurement values varying depending on the user by utilizing an artificial intelligence model that minimizes user input.
[0033] The effects of the image processing device and its operating method according to the disclosure of this document are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art according to the disclosure of this document.
[0034] FIG. 1 is a block diagram of an image processing device according to an embodiment of the present disclosure.
[0035] Figure 2 illustrates learning data according to one embodiment of the present disclosure.
[0036] FIG. 3 illustrates an artificial intelligence model according to one embodiment of the present disclosure.
[0037] FIG. 4 illustrates images processed by an image processing device according to an embodiment of the present disclosure.
[0038] FIG. 5 is a flowchart illustrating an active material image processing method of an image processing device according to an embodiment of the present disclosure.
[0039] FIG. 6 is a flowchart illustrating an artificial intelligence model learning method of an image processing device according to an embodiment of the present disclosure.
[0040] FIG. 7 is a block diagram of an image processing device according to another embodiment of the present disclosure.
[0041] Figure 8 illustrates learning data according to another embodiment of the present disclosure.
[0042] FIG. 9 illustrates an artificial intelligence model according to another embodiment of the present disclosure.
[0043] FIG. 10A illustrates images according to image processing of an image processing device according to another embodiment of the present disclosure.
[0044] FIG. 10b illustrates an image difference according to image processing of an image processing device according to another embodiment of the present disclosure.
[0045] FIG. 11 is a flowchart showing an active material image processing method of an image processing device according to another embodiment of the present disclosure.
[0046] FIG. 12 is a flowchart illustrating an artificial intelligence model learning method of an image processing device according to another embodiment of the present disclosure.
[0047] FIG. 13 is a block diagram of an image processing device according to another embodiment of the present disclosure.
[0048] Figure 14 illustrates learning data according to another embodiment of the present disclosure.
[0049] FIG. 15 illustrates an artificial intelligence model according to another embodiment of the present disclosure.
[0050] FIG. 16a illustrates images according to image processing of an image processing device according to another embodiment of the present disclosure.
[0051] FIG. 16b illustrates an image difference according to image processing of an image processing device according to another embodiment of the present disclosure.
[0052] FIG. 17 is a flowchart illustrating an active material image processing method of an image processing device according to another embodiment of the present disclosure.
[0053] In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components.
[0054] Hereinafter, embodiments of the present invention will be described with reference to the attached drawings. However, this is not intended to limit the present invention to specific embodiments, and it should be understood that the present invention encompasses various modifications, equivalents, and / or alternatives of the embodiments.
[0055] The embodiments and terminology used in this document are not intended to limit the technical features described in this document to a specific embodiment, but should be understood to encompass various modifications, equivalents, or alternatives of the embodiment. In connection with the description of the drawings, similar reference numerals may be used to refer to similar or related components. The singular form of a noun corresponding to an item may include one or more of the item, unless the relevant context clearly indicates otherwise.
[0056] In this document, the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can each include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", "first", "second", "A", "B", "(a)", or "(b)" may be used merely to distinguish the corresponding component from other corresponding components, and do not limit the corresponding components in any other respect (e.g., importance or order) unless specifically stated otherwise.
[0057] In this document, when a component (e.g., a first component) is referred to as being “connected,” “coupled,” or “connected,” with or without the terms “functionally” or “communicatively,” or “coupled” or “connected,” it means that the component can be connected to the other component directly (e.g., wired or wirelessly), or indirectly (e.g., via a third component).
[0058] The methods according to various embodiments disclosed in this document may be provided as included in a computer program product. The computer program product may be traded as a commodity between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory, CD-ROM), or may be distributed online (e.g., downloaded or uploaded) through an application store or directly between two user devices. In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0059] According to the embodiments disclosed in this document, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to the embodiments disclosed in this document, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to the embodiments disclosed in this document, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
[0060] FIG. 1 is a block diagram of an image processing device (101) according to one embodiment of the present disclosure.
[0061] Referring to FIG. 1, the image processing device (101) can be connected to the image acquisition device (103) wired and / or wirelessly.
[0062] In one embodiment, the connection (105) between the image processing device (101) and the image acquisition device (103) may be a communication connection via a wired and / or wireless network. In one embodiment, the wired network may be based on a local area network (LAN) communication or a power line communication. In one embodiment, the wireless network may be based on a short-range communication network (e.g., Bluetooth, wireless fidelity (WiFi), or infrared data association (IrDA)), or a wide-range communication network (cellular network, 4G network, 5G network).
[0063] In another embodiment, the connection (105) between the image processing device (101) and the image acquisition device (103) may be a connection via a device-to-device communication method (e.g., a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)).
[0064] In one embodiment, the image acquisition device (103) may be a microscope (e.g., a scanning electron microscope). In one embodiment, the image acquisition device (103) may be a device that acquires an image of the sample surface by scanning a focused electron beam onto the sample surface and converting secondary electrons generated by the interaction between the electron beam and the sample into an image signal.
[0065] In one embodiment, the image acquisition device (103) can acquire images of an active material and / or a precursor. Hereinafter, the images of the active material and / or the precursor may be referred to as active material images. However, even if referred to as active material images, the present disclosure does not exclude images of precursors.
[0066] In one embodiment, the image acquisition device (103) can acquire an active material image for the active material. For example, the image acquisition device (103) can acquire a scanning electron microscope (SEM) image by scanning an electron beam on a positive or negative active material powder. That is, the SEM image can include a positive active material image and a negative active material image. According to embodiments, the SEM image can be replaced with an image based on a transmission electron microscope (TEM), an optical microscope (OM), a structured illumination microscopy (SIM), or a fused ion beam (FIB).
[0067] In one embodiment, the image acquisition device (103) can transmit an active material image of the active material to the image processing device (101). For example, the image acquisition device (103) can transmit an active material image of the active material to the image processing device (101) via a connection (105).
[0068] In one embodiment, the image processing device (101) may be a mobile device (e.g., a mobile phone, a laptop computer, a smart phone, a smart pad), a computer (e.g., a general-purpose computer, a special-purpose computer).
[0069] In one embodiment, the image processing device (101) may include a communication circuit (110), a memory (120), and a processor (130). According to an embodiment, the image processing device (101) illustrated in FIG. 1 may further include at least one component (e.g., a display, an input device, or an output device) other than the components illustrated in FIG. 1.
[0070] In one embodiment, the communication circuit (110) can establish a wired communication channel and / or a wireless communication channel between the image processing device (101) and / or the image acquisition device (103), and transmit and receive data to and from the image acquisition device (103) through the established communication channel.
[0071] In one embodiment, the memory (120) may include volatile memory and / or non-volatile memory.
[0072] In one embodiment, the memory (120) may store data used by at least one component (e.g., processor (130)) of the image processing device (101). For example, the data may include a program (125) (or instructions related thereto), input data, or output data. In one embodiment, the instructions, when executed by the processor (130), may cause the image processing device (101) to perform operations defined by the instructions.
[0073] In one embodiment, the memory (120) may include a program (125) (e.g., an artificial intelligence model learning unit (141), an artificial intelligence model (145), an image acquisition unit (150), an image generation unit (160), an object identification unit (170), an image segmentation unit (180), and / or an information extraction unit (190)).
[0074] In one embodiment, the processor (130) may include a central processing unit, an application processor, a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
[0075] In one embodiment, the processor (130) may execute a program (125) (e.g., an artificial intelligence model learning unit (141), an artificial intelligence model (145), an image acquisition unit (150), an image generation unit (160), an object identification unit (170), an image segmentation unit (180), and / or an information extraction unit (190)) to control at least one other component (e.g., a hardware or software component) of an image processing device (101) connected to the processor (130) and perform various data processing or operations.
[0076] In one embodiment, the artificial intelligence model learning unit (141) may learn the artificial intelligence model (145) based on learning data. In one embodiment, the artificial intelligence model (145) may be a model learned to convert an active material image into a binary image. In one embodiment, the image acquisition unit (150) may acquire an active material image of the active material from the image acquisition device (103). In one embodiment, the image generation unit (160) may generate a binary image by inputting the active material image into the artificial intelligence model (145). In one embodiment, the object identification unit (170) may identify a plurality of objects included in the binary image. In one embodiment, the image segmentation unit (180) may segment a plurality of active material objects included in the active material image based on the plurality of objects to obtain a segmentation image. In one embodiment, the information extraction unit (190) can extract information about an active material based on active material objects included in a segmentation image.
[0077] Hereinafter, with reference to FIGS. 2 to 4, a method for processing an image acquired from an image acquisition device (103) by an image processing device (101) through an artificial intelligence model learning unit (141), an artificial intelligence model (145), an image acquisition unit (150), an image generation unit (160), an object identification unit (170), an image segmentation unit (180), and / or an information extraction unit (190) will be specifically described.
[0078] Training data
[0079] Figure 2 illustrates learning data according to one embodiment of the present disclosure.
[0080] Referring to FIG. 2, the learning data may include reference active material images (211, 213, 215, 221, 223, 225, 231, 233, 235) and reference binary images (251, 253, 255, 261, 263, 265, 271, 273, 275).
[0081] The sizes of the reference active material images (211, 213, 215, 221, 223, 225, 231, 233, 235) and the reference binary images (251, 253, 255, 261, 263, 265, 271, 273, 275) included in the learning data may be the same. In one embodiment, the size of the image may be defined as the number of horizontal pixels × the number of vertical pixels. The number of horizontal pixels of the images included in the learning data may be an integer between 32 and 4096, and the number of vertical pixels may be an integer between 32 and 4096. For example, the size of the image may be 256 × 256.
[0082] In one embodiment, the plurality of reference active material images (211, 213, 215, 221, 223, 225, 231, 233, 235) may include one or more first reference active material images and one or more second reference active material images.
[0083] In one embodiment, the first reference active material images may be acquired by photographing the active material powder. In one embodiment, the first reference active material images may be SEM images acquired directly through an image acquisition device (103).
[0084] In one embodiment, the second reference active material images may be images transformed from the first reference active material images. In one embodiment, the second reference active material images may be generated by applying a first image processing algorithm specified for the first reference active material images. Here, the first image processing algorithm may include rotation, tilt, shear, brightness adjustment, contrast adjustment, zoom in, zoom out, or a combination thereof.
[0085] In one embodiment, the plurality of reference binary images (251, 253, 255, 261, 263, 265, 271, 273, 275) may include one or more first reference binary images and one or more second reference binary images.
[0086] In one embodiment, the first reference binary images may be generated by applying a second image processing algorithm to the first reference active material image. Here, the second image processing algorithm may include a mean shift filter, a boundary extraction algorithm, a boundary removal algorithm, a binarization algorithm, or a combination thereof.
[0087] In one embodiment, the second reference binary images may be images transformed from the first reference binary images. In one embodiment, the second reference binary images may be generated by applying a first image processing algorithm specified to the first reference binary images. Here, the first image processing algorithm may include rotation, tilt, share, brightness adjustment, contrast adjustment, zoom in, zoom out, or a combination thereof.
[0088] In one embodiment, the first reference binary images may be binary images of the first reference active material images, and the second reference binary images may be binary images of the second reference active material images. For example, the reference binary image (251) may be a binary image for the reference active material image (211), the reference binary image (263) may be a binary image for the reference active material image (223), and the reference binary image (275) may be a binary image for the reference active material image (265). Accordingly, the plurality of reference active material images (211, 213, 215, 221, 223, 225, 231, 233, 235) and the plurality of reference binary images (251, 253, 255, 261, 263, 265, 271, 273, 275) can be classified into an image set with corresponding images. For example, the reference active material image (211) and the reference binary image (251) can be classified into one image set.
[0089] In one embodiment, the training data may be used to train an artificial intelligence model (145). In one embodiment, the training data may be used to train the artificial intelligence model (145) for a specified number of epochs. Here, the specified number of epochs may be determined between 100 and 10,000. For example, the specified number of epochs may be 3,000.
[0090] In one embodiment, the training data may be divided into mini-batches divided by a batch size. Here, the batch size may be determined between 1 and 512. For example, the batch size may be 3. When the batch size is 3, each of three sets of images (i.e., three reference active material images and three reference binary images) may be divided into a mini-batch. For example, reference active material images (211, 213, 215) and reference binary images (251, 253, 255) may constitute a first mini-batch, reference active material images (221, 223, 225) and reference binary images (261, 263, 265) may constitute a second mini-batch, and reference active material images (231, 233, 235) and reference binary images (271, 273, 275) may constitute a third mini-batch.
[0091] artificial intelligence model
[0092] FIG. 3 illustrates an artificial intelligence model (145) according to one embodiment of the present disclosure. Specifically, FIG. 3 illustrates an example of training an artificial intelligence model (145) through mini-batches consisting of reference active material images (301, 303, 305) and reference binary images (391, 393, 395).
[0093] In one embodiment, the artificial intelligence model (145) may be a model based on a convolutional neural network (CNN) or U-NET. In one embodiment, the artificial intelligence model (145) may be a model trained to convert an active material image into a binary image.
[0094] Referring to FIG. 3, the artificial intelligence model (145) may include a plurality of layers (310, 320, 330, 340, 350, 360, 370). The plurality of layers (310, 320, 330, 340, 350, 360, 370) may be sequentially connected. The input of the sequentially connected layers may be the output of the layer that is connected immediately before, and the output of the sequentially connected layers may be the input of the layer that is connected immediately after. For example, the output of the layer (310) may be the input of the layer (320).
[0095] At least two layers (e.g., layers (310, 370), layers (320, 360), or layers (330, 350)) among the plurality of layers (310, 320, 330, 340, 350, 360, 370) may be connected by a skip connection (315, 325, 335). In one embodiment, the skip connection (315, 325, 335) may connect a layer included in an encoding area (e.g., layers (310, 320, 330)) and a layer included in a decoding area (e.g., layers (350, 360, 370)) among the plurality of layers (310, 320, 330, 340, 350, 360, 370). Here, skip connections (315, 325, 335) may mean connections between layers for inputting the outputs of layers (310, 320, 330) to layers (350, 360, 370). For example, the outputs of layer (340) and layer (330) may be input to layer (350) through skip connections (335).
[0096] In one embodiment, the plurality of layers (310, 320, 330, 340, 350, 360, 370) may include an input layer, a batch normalization layer, a 2D convolution layer, an activation layer, a max pooling layer, an upsampling layer, a concatenation layer, or a combination thereof. For example, a layer included in an encoding region (e.g., layers (310, 320, 330)) may have a structure in which a 2D convolution layer, a batch normalization layer, an activation layer, and a max pooling layer are sequentially connected. In another example, a layer included in a decoding region (e.g., layers (350, 360, 370)) may have a structure in which a 2D convolution layer, a batch normalization layer, an activation layer, and an upsampling layer are sequentially connected.
[0097] In one embodiment, the input layer may be a layer that receives bit values included in the reference active material images (301, 303, 305). In one embodiment, the input layer may obtain an input composed of bit values equal to the number of horizontal pixels × the number of vertical pixels × the number of channels (or depth). For example, when the reference active material image has a size of N × N, the input layer may receive N × N × 1 bit values. Here, N may be an integer between 32 and 4096 (e.g., 256). Depending on the embodiment, the number of channels may also be referred to as depth.
[0098] In one embodiment, the batch normalization layer may be a layer for normalizing the output values of the previous layer on a batch basis. According to an embodiment, the batch normalization layer may be positioned immediately before the activation layer. Here, the batch may include reference active material images input during one iteration to train the artificial intelligence model (145). For example, when the batch size is 3, the number of reference active material images input to the artificial intelligence model (145) during one iteration may be 3. Here, the batch size may be an integer between 1 and 512 (e.g., 3).
[0099] In one embodiment, the 2D convolution layer may be a layer for obtaining an output by performing a convolution operation on an input and a filter of a specified size. In one embodiment, the 2D convolution layer included in the artificial intelligence model (145) assumes that the image size of the output (the number of horizontal pixels × the number of vertical pixels) is the same as the image size of the input (the number of horizontal pixels × the number of vertical pixels). In one embodiment, the number of channels of the output may change depending on the number of filters (or the depth of the filters) of the 2D convolution layer. For example, when the number of filters is 2, the number of channels of the output may increase by twice compared to the number of channels of the input. In one embodiment, the number of channels of the output may change depending on the stride in the depth direction of the 2D convolution layer. For example, when the stride in the depth direction is 2, the number of channels of the output may be reduced by half compared to the number of channels of the input.
[0100] In one embodiment, an activation layer may be a layer that obtains an output by applying a specified activation function to an input. For example, the specified activation function may include a step, a sigmoid, a rectifier linear unit (ReLU), an exponential linear unit (ELU), a softmax, or a combination thereof.
[0101] In one embodiment, the max pooling layer may be a layer for obtaining an output by selecting the largest value in each pooling region of the input. In one embodiment, the image size of the output (i.e., the number of horizontal pixels and the number of vertical pixels) may change depending on the size of the pooling region of the max pooling layer. For example, when the size of the pooling region is 2 × 2, the image size of the output (e.g., 128 × 128) may be reduced by half compared to the image size of the input (e.g., 256 × 256). According to an embodiment, the artificial intelligence model (145) may include a pooling layer of a type other than the max pooling layer. For example, the pooling layer of a type other than the max pooling layer may include an average pooling layer.
[0102] In one embodiment, the upsampling layer may be a layer for increasing the resolution of an image. In one embodiment, the upsampling layer may be a layer for increasing the size of an output image compared to the size of an input image using a specified interpolation algorithm.
[0103] In one embodiment, a concatenation layer can concatenate two or more inputs and output an output. Here, the concatenation can be a connection in the depth direction. For example, if a first input is 128 × 128 × 128 and a second input is 128 × 128 × 128, the output of the concatenation layer can be 128 × 128 × 256. If another first input is 256 × 256 × 64 and a second input is 128 × 128 × 128, the output of the concatenation layer can be 256 × 256 × 128.
[0104] In FIG. 3, the number of layers (310, 320, 330, 340, 350, 360, 370) is illustrated as being 7, but this is merely an example, and the number of layers is not limited to 7. For example, the number of layers included in the artificial intelligence model (145) may be 32.
[0105] When the number of layers included in the artificial intelligence model (145) is 32, the artificial intelligence model (145) may have a structure in which an input layer, a first batch normalization layer, a first 2D convolution layer, and a second 2D convolution layer are sequentially connected. The input of the sequentially connected layers may be the output of the layer connected immediately before, and the output of the sequentially connected layers may be the input of the layer connected immediately after. Here, the input of the input layer may be 256 × 256 × 1, and the output may be 256 × 256 × 1. The output of the first batch normalization layer may be 256 × 256 × 1. The output of the first 2D convolution layer may be 256 × 256 × 64. The output of the second 2D convolution layer may be 256 × 256 × 64.
[0106] Following the second 2D convolution layer, the artificial intelligence model (145) may have a structure in which a second batch normalization layer, a first activation layer, and a first max pooling layer are sequentially connected. Here, the output of the second batch normalization layer may be 256 × 256 × 64. The output of the first activation layer may be 256 × 256 × 64. The output of the first max pooling layer may be 128 × 128 × 64.
[0107] Following the first max pooling layer, the artificial intelligence model (145) may have a structure in which a third 2D convolution layer, a fourth 2D convolution layer, a third batch normalization layer, a second activation layer, and a second max pooling layer are sequentially connected. Here, the output of the third 2D convolution layer may be 128 × 128 × 128. The output of the fourth 2D convolution layer may be 128 × 128 × 128. The output of the third batch normalization layer may be 128 × 128 × 128. The output of the second activation layer may be 128 × 128 × 128. The output of the second max pooling layer may be 64 × 64 × 128.
[0108] Following the second max pooling layer, the artificial intelligence model (145) may have a structure in which a fifth 2D convolution layer, a sixth 2D convolution layer, a fourth batch normalization layer, a third activation layer, and a first up-sampling layer are sequentially connected. Here, the output of the fifth 2D convolution layer may be 64 × 64 × 256. The output of the sixth 2D convolution layer may be 64 × 64 × 256. The output of the fourth batch normalization layer may be 64 × 64 × 256. The output of the third activation layer may be 64 × 64 × 256. The output of the first up-sampling layer may be 128 × 128 × 256.
[0109] Following the first up-sampling layer, the artificial intelligence model (145) may have a structure in which a seventh 2D convolution layer, a first connection layer, an eighth 2D convolution layer, a ninth 2D convolution layer, a fifth batch normalization layer, a fourth activation layer, and a second up-sampling layer are sequentially connected. Among the two inputs of the first connection layer, the first input may be the output of the seventh 2D convolution layer, and the second input may be the output of the fourth 2D convolution layer. Here, the output of the seventh 2D convolution layer may be 128 × 128 × 128. The output of the first connection layer may be 128 × 128 × 256. The output of the eighth 2D convolution layer may be 128 × 128 × 128. The output of the ninth 2D convolution layer may be 128 × 128 × 128. The output of the fifth batch normalization layer can be 128 × 128 × 128. The output of the fourth activation layer can be 128 × 128 × 128. The output of the second upsampling layer can be 256 × 256 × 128.
[0110] Following the second up-sampling layer, the artificial intelligence model (145) may have a structure in which a tenth 2D convolution layer, a second connection layer, an eleventh 2D convolution layer, a twelfth 2D convolution layer, a sixth batch normalization layer, a fifth activation layer, a thirteenth 2D convolution layer, and a fourteenth 2D convolution layer are sequentially connected. Among the two inputs of the second connection layer, the first input may be the output of the tenth 2D convolution layer, and the second input may be the output of the second 2D convolution layer. Here, the output of the tenth 2D convolution layer may be 256 × 256 × 64. The output of the second connection layer may be 256 × 256 × 128. The output of the eleventh 2D convolution layer may be 256 × 256 × 64. The output of the 12th 2D convolution layer may be 256 × 256 × 64. The output of the 6th batch normalization layer may be 256 × 256 × 64. The output of the 5th activation layer may be 256 × 256 × 64. The output of the 13th 2D convolution layer may be 256 × 256 × 2. The output of the 14th 2D convolution layer may be 256 × 256 × 2.
[0111] AI model training
[0112] Referring to FIG. 3, the operation of the artificial intelligence model learning unit (141) training the artificial intelligence model (145) through images (301, 303, 305, 391, 393, 395) included in the mini-batch is described.
[0113] In one embodiment, the artificial intelligence model learning unit (141) can sequentially input reference activation images (301, 303, 305) into the artificial intelligence model (145).
[0114] In one embodiment, the artificial intelligence model learning unit (141) can train the artificial intelligence model (145) so that the difference between the sequentially acquired output images of the artificial intelligence model (145) and the reference binary images (391, 393, 395) is less than or equal to a specified reference value.
[0115] For example, the artificial intelligence model learning unit (141) may calculate the difference between the output images and the reference binary images (391, 393, 395) based on a loss function (or cost function). Here, the loss function may include a mean absolute error function, a root mean square error, a mean square error function, or a binary cross entropy loss function. According to an embodiment, the binary cross entropy loss function may be a function to which a weight between 1 and 1000 is applied for one of two colors (or classes) (e.g., white among black and white).
[0116] Thereafter, the artificial intelligence model learning unit (141) can adjust the weights of the artificial intelligence model (145) so that the difference is less than or equal to a specified reference value (or has a minimum value). In one embodiment, the artificial intelligence model learning unit (141) can adjust the weights of the artificial intelligence model (145) so that the difference is less than or equal to a specified reference value (or has a minimum value) through an algorithm based on gradient descent (e.g., Adam, SGD, Momentum). Here, the adjusted weights can be determined according to a learning rate. The learning rate can be determined between 0.00000001 and 0.1. For example, the learning rate can be 0.0001.
[0117] Thereafter, the artificial intelligence model learning unit (141) can train the artificial intelligence model (145) through the images included in the next mini-batch. Afterwards, when the artificial intelligence model (145) is trained through the images included in all mini-batches, the artificial intelligence model learning unit (141) can train the artificial intelligence model (145) again through the images included in the mini-batches according to the specified number of epochs.
[0118] Image processing using artificial intelligence models
[0119] FIG. 4 illustrates images (410, 430, 450) obtained by image processing of an image processing device (101) according to an embodiment of the present disclosure.
[0120] In one embodiment, the image acquisition unit (150) can acquire an active material image (410) for the active material (411, 413, 415). In one embodiment, the image acquisition unit (150) can acquire the active material image (410) through the image acquisition device (103).
[0121] In one embodiment, the image generation unit (160) can generate a binary image (430). In one embodiment, the image generation unit (160) can generate a binary image (430) by inputting an active material image (410) into an artificial intelligence model (145).
[0122] In one embodiment, the object identification unit (170) can identify a plurality of objects (431, 433, 435) included in a binary image (430). Here, the plurality of objects (431, 433, 435) included in the binary image (430) can correspond to the active materials (411, 413, 415) in the active material image (410). In one embodiment, the plurality of objects (431, 433, 435) can be configured as regions having a designated value (e.g., a value representing white color). In one embodiment, the plurality of objects (431, 433, 435) can be distinguished by regions having another designated value (e.g., a value representing black color). In FIG. 4, only three objects are marked with symbols, but referring to FIG. 4, it can be seen that other objects exist in the binary image (430).
[0123] In one embodiment, the image segmentation unit (180) can segment a plurality of active materials (411, 413, 415) included in the active material image (410) based on a plurality of objects (431, 433, 435) to obtain a segmentation image (450). In one embodiment, the image segmentation unit (180) can segment a plurality of active materials (411, 413, 415) included in the active material image (410) based on a watershed algorithm.
[0124] In one embodiment, the information extraction unit (190) may extract information about active materials (411, 413, 415) based on active material objects (451, 453, 455) included in the segmentation image (450). In one embodiment, the information about the active materials (411, 413, 415) may include information about an average particle diameter, an average circumference, an average sphericity, an average aspect ratio, an average convexity, an average solidity, or a distribution value thereof of the active materials. In addition, the information about the active materials (411, 413, 415) may also include information about an individual particle diameter, a circumference, a sphericity, an aspect ratio, a convexity, and / or a solidity of each active material. Additionally, information about the active materials (411, 413, 415) may also include information about the quantile value of each active material (e.g., 1 to 99%, or D5, D50, D95, etc.).
[0125] FIG. 5 is a flowchart showing an active material image processing method of an image processing device (101) according to one embodiment of the present disclosure.
[0126] Referring to FIG. 5, in operation 510, the image processing device (101) can acquire an active material image (410) for the active material (411, 413, 415). In one embodiment, the image processing device (101) can acquire the active material image (410) through the image acquisition device (103).
[0127] In operation 520, the image processing device (101) can generate a binary image (430) by inputting an active material image (410) into an artificial intelligence model (145). Here, the artificial intelligence model (145) may be a model learned by the artificial intelligence model learning method according to FIG. 6.
[0128] In operation 530, the image processing device (101) can identify multiple objects (431, 433, 435) included in the binary image (430).
[0129] In operation 540, the image processing device (101) can segment a plurality of active materials (411, 413, 415) included in the active material image (410) based on a plurality of objects (431, 433, 435) to obtain a segmentation image (450). In one embodiment, the image processing device (101) can segment a plurality of active materials (411, 413, 415) included in the active material image (410) based on a watershed algorithm.
[0130] FIG. 6 is a flowchart illustrating an artificial intelligence model learning method of an image processing device (101) according to an embodiment of the present disclosure. The operations of FIG. 6 may be applied during the first epoch for learning data.
[0131] Referring to FIG. 6, in operation 610, the image processing device (101) may set parameters of the artificial intelligence model (145). In one embodiment, the image processing device (101) may set parameters of the artificial intelligence model (145) based on initial parameter values.
[0132] In operation 615, the image processing device (101) may set i to 1. i may represent an index of an image set included in the learning data. Here, the image set may include a reference active material image and a reference binary image therefor.
[0133] In operation 620, the image processing device (101) can obtain an output image based on the i-th reference active material image. In one embodiment, the image processing device (101) can generate an output image by inputting the i-th reference active material image into the artificial intelligence model (145).
[0134] In operation 630, the image processing device (101) may determine whether the difference between the output image and the ith reference binary image is less than or equal to a reference. In one embodiment, the image processing device (101) may calculate the difference between the output image and the ith reference binary image based on a loss function (or cost function). Here, the loss function may include a mean absolute error function, a root mean square error, a mean square error function, or a binary cross entropy loss function. According to an embodiment, the binary cross entropy loss function may be a function to which a weight between 1 and 1000 is applied for one of two colors (or classes) (e.g., white among black and white).
[0135] As a result of the judgment in operation 630, if the difference is below the standard (yes judgment), the image processing device (101) can proceed to operation 650. As a result of the judgment in operation 630, if the difference exceeds the standard (no judgment), the image processing device (101) can proceed to operation 640.
[0136] In operation 640, the image processing device (101) may adjust the parameters of the artificial intelligence model (145). In one embodiment, the image processing device (101) may adjust the parameters of the artificial intelligence model (145) so that the difference is less than or equal to a specified reference value (or has a minimum value). In one embodiment, the image processing device (101) may adjust the parameters of the artificial intelligence model (145) so that the difference is less than or equal to a specified reference value (or has a minimum value) through an algorithm based on gradient descent (e.g., Adam, SGD, Momentum). Here, the adjusted weights may be determined according to a learning rate. The learning rate may be determined between 0.00000001 and 0.1. For example, the learning rate may be 0.0001.
[0137] In operation 650, the image processing device (101) may determine whether learning is complete. In one embodiment, if i represents the last of the image set, learning may be determined to be complete.
[0138] If the judgment result in operation 650 indicates that learning is complete (yes judgment), the image processing device (101) can terminate the operations according to FIG. 6. If the judgment result in operation 650 indicates that learning is not complete (no judgment), the image processing device (101) can proceed to operation 655.
[0139] In operation 655, the image processing device (101) may increase the value of i by 1. Thereafter, operation 620 may be performed again.
[0140] In the present disclosure, the image processing device (101) is exemplified as performing an image processing method based on an image of an active material, but this is merely an example. According to an embodiment, the image processing device (101) can perform the same image processing on not only an image of an active material but also an image of a precursor, thereby separating and / or analyzing particles. The image acquisition device (103) can acquire images of the active material and / or the precursor.
[0141] In addition, in the present disclosure, the active material image is exemplified as an SEM image, but this is merely an example. Depending on the embodiment, the active material image may be replaced with an image based on a transmission electron microscope (TEM), an optical microscope (OM), a structured illumination microscopy (SIM), or a fused ion beam (FIB).
[0142] The image processing device (101) and its operating method as described above can automatically quantitatively analyze the shape characteristics of a large quantity of positive electrode active material particles by obtaining an active material image (410) for a plurality of active materials (411, 413, 415), inputting the active material image (410) into an artificial intelligence model (145) to generate a binary image (430), identifying a plurality of objects (431, 433, 435) included in the binary image (430), and then segmenting the plurality of active materials (411, 413, 415) included in the active material image (410) based on the plurality of objects (431, 433, 435).
[0143] In addition, the image processing device (101) and its operating method as described above can minimize the problem of measurement values varying depending on the user by utilizing an artificial intelligence model (145) that minimizes user input.
[0144] Meanwhile, although the above example illustrates a case where the active material image is a positive electrode active material image, the technical idea disclosed in this document can be substantially equally applied even when the active material image is a negative electrode active material image.
[0145] FIG. 7 is a block diagram of an image processing device (701) according to another embodiment of the present disclosure.
[0146] Referring to FIG. 7, the image processing device (701) can be connected to the image acquisition device (703) wired and / or wirelessly.
[0147] In one embodiment, the connection (705) between the image processing device (701) and the image acquisition device (703) may be a communication connection via a wired and / or wireless network. In one embodiment, the wired network may be based on a local area network (LAN) communication or a power line communication. In one embodiment, the wireless network may be based on a short-range communication network (e.g., Bluetooth, wireless fidelity (WiFi), or infrared data association (IrDA)), or a wide-range communication network (cellular network, 4G network, 5G network).
[0148] In another embodiment, the connection (705) between the image processing device (701) and the image acquisition device (703) may be a connection via a device-to-device communication method (e.g., a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)).
[0149] In one embodiment, the image acquisition device (703) can acquire images of an active material and / or a precursor. Hereinafter, the images of the active material and / or the precursor may be referred to as active material images. However, even if referred to as active material images, the present disclosure does not exclude images of precursors.
[0150] In one embodiment, the image acquisition device (703) may be a microscope (e.g., a scanning electron microscope). In one embodiment, the image acquisition device (703) may be a device that acquires an image of a sample surface by scanning a focused electron beam onto the sample surface and converting secondary electrons generated by the interaction between the electron beam and the sample into image signals.
[0151] In one embodiment, the image acquisition device (703) can acquire an active material image for the active material. For example, the image acquisition device (703) can acquire a scanning electron microscope (SEM) image by scanning an electron beam on a positive or negative active material powder. That is, the SEM image can include a positive active material image and a negative active material image. According to embodiments, the SEM image can be replaced with an image based on a transmission electron microscope (TEM), an optical microscope (OM), a structured illumination microscopy (SIM), or a fused ion beam (FIB).
[0152] In one embodiment, the image acquisition device (703) can transmit an active material image of the active material to the image processing device (701). For example, the image acquisition device (703) can transmit an active material image of the active material to the image processing device (701) via a connection (705).
[0153] In one embodiment, the image processing device (701) may be a mobile device (e.g., a mobile phone, a laptop computer, a smart phone, a smart pad), a computer (e.g., a general-purpose computer, a special-purpose computer).
[0154] In one embodiment, the image processing device (701) may include a communication circuit (710), a memory (720), and a processor (730). According to an embodiment, the image processing device (701) illustrated in FIG. 7 may further include at least one component (e.g., a display, an input device, or an output device) other than the components illustrated in FIG. 7.
[0155] In one embodiment, the communication circuit (710) can establish a wired communication channel and / or a wireless communication channel between the image processing device (701) and / or the image acquisition device (703), and transmit and receive data to and from the image acquisition device (703) through the established communication channel.
[0156] In one embodiment, the memory (720) may include volatile memory and / or non-volatile memory.
[0157] In one embodiment, the memory (720) may store data used by at least one component (e.g., the processor (730)) of the image processing device (701). For example, the data may include a program (725) (or instructions related thereto), input data, or output data. In one embodiment, the instructions, when executed by the processor (730), may cause the image processing device (701) to perform operations defined by the instructions.
[0158] In one embodiment, the memory (720) may include a program (725) (e.g., an artificial intelligence model learning unit (741), an artificial intelligence model (745), an image acquisition unit (750), an image generation unit (760), a boundary removal unit (765), an object identification unit (770), an image segmentation unit (780), and / or an information extraction unit (790)).
[0159] In one embodiment, the processor (730) may include a central processing unit, an application processor, a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
[0160] In one embodiment, the processor (730) may execute a program (725) (e.g., an artificial intelligence model learning unit (741), an artificial intelligence model (745), an image acquisition unit (750), an image generation unit (760), a boundary removal unit (765), an object identification unit (770), an image segmentation unit (780), and / or an information extraction unit (790)) to control at least one other component (e.g., a hardware or software component) of an image processing device (701) connected to the processor (730) and perform various data processing or operations.
[0161] In one embodiment, the artificial intelligence model learning unit (741) may learn the artificial intelligence model (745) based on learning data. In one embodiment, the artificial intelligence model (745) may be a model learned to convert an active material image into a binary image. In one embodiment, the image acquisition unit (750) may acquire an active material image of the active material from the image acquisition device (703). In one embodiment, the image generation unit (760) may generate a boundary image by inputting the active material image into the artificial intelligence model (745). In one embodiment, the boundary removal unit (765) may generate a boundary removal image by removing a boundary from the active material image based on the boundary image. In one embodiment, the object identification unit (770) may identify a plurality of objects included in the boundary removal image. In one embodiment, the image segmentation unit (780) may segment a plurality of active materials included in the active material image based on a plurality of objects to obtain a segmentation image. In one embodiment, the information extraction unit (790) can extract information about an active material based on active material objects included in a segmentation image.
[0162] Hereinafter, with reference to FIGS. 8, 9, 10a, and 10b, a method for processing an image acquired from an image acquisition device (703) by an image processing device (701) through an artificial intelligence model learning unit (741), an artificial intelligence model (745), an image acquisition unit (750), an image generation unit (760), a boundary removal unit (765), an object identification unit (770), an image segmentation unit (780), and / or an information extraction unit (790) will be specifically described.
[0163] Training data
[0164] Figure 8 illustrates learning data according to another embodiment of the present disclosure.
[0165] Referring to FIG. 8, the learning data may include reference active material images (811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821) and reference edge images (851, 851, 853, 854, 855, 856, 857, 858, 859, 860, 861).
[0166] The sizes of the reference active material images (811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821) and the reference boundary images (851, 851, 853, 854, 855, 856, 857, 858, 859, 860, 861) included in the learning data may be the same. In one embodiment, the size of the image may be defined as the number of horizontal pixels × the number of vertical pixels. The number of horizontal pixels of the images included in the learning data may be an integer between 32 and 4096, and the number of vertical pixels may be an integer between 32 and 4096. For example, the size of the image may be 256 × 256.
[0167] In one embodiment, the plurality of reference active material images (811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821) may include one or more first reference active material images and one or more second reference active material images.
[0168] In one embodiment, the first reference active material images may be acquired by photographing the active material powder. In one embodiment, the first reference active material images may be SEM images acquired directly through an image acquisition device (703).
[0169] In one embodiment, the second reference active material images may be images transformed from the first reference active material images. In one embodiment, the second reference active material images may be generated by applying a first image processing algorithm specified for the first reference active material images. Here, the first image processing algorithm may include rotation, tilt, shear, brightness adjustment, contrast adjustment, zoom in, zoom out, or a combination thereof.
[0170] In one embodiment, the plurality of reference boundary images (851, 851, 853, 854, 855, 856, 857, 858, 859, 860, 861) may include one or more first reference boundary images and one or more second reference boundary images.
[0171] In one embodiment, the first reference boundary images may be generated by applying a second image processing algorithm to the first reference active material image. Here, the second image processing algorithm may include a mean shift filter and / or a boundary extraction algorithm.
[0172] In one embodiment, the second reference boundary images may be images transformed from the first reference boundary images. In one embodiment, the second reference boundary images may be generated by applying a first image processing algorithm specified to the first reference boundary images. Here, the first image processing algorithm may include rotation, tilt, share, brightness adjustment, contrast adjustment, zoom in, zoom out, or a combination thereof.
[0173] In one embodiment, the first reference boundary images may be boundary images of the first reference active material images, and the second reference boundary images may be boundary images of the second reference active material images. For example, the reference boundary image (851) may be a boundary image for the reference active material image (811), the reference boundary image (856) may be a boundary image for the reference active material image (816), and the reference boundary image (861) may be a boundary image for the reference active material image (821). Accordingly, the plurality of reference active material images (811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821) and the plurality of reference boundary images (851, 851, 853, 854, 855, 856, 857, 858, 859, 860, 861) can be classified into an image set with corresponding images. For example, the reference active material image (811) and the reference boundary image (851) can be classified into one image set.
[0174] In one embodiment, the training data may be used to train an artificial intelligence model (745). In one embodiment, the training data may be used to train the artificial intelligence model (745) for a specified number of epochs. Here, the specified number of epochs may be determined between 100 and 10,000. For example, the specified number of epochs may be 3,000.
[0175] In one embodiment, the training data may be divided into mini-batches divided by a batch size. Here, the batch size may be determined between 1 and 512. For example, the batch size may be 4. When the batch size is 4, each set of four images (i.e., four reference active material images and four reference boundary images) may be divided into a mini-batch. For example, the reference active material images (811, 812, 813, 814) and the reference boundary images (851, 852, 853, 854) may constitute a first mini-batch, and the reference active material images (815, 816, 817, 818) and the reference boundary images (855, 856, 857, 858) may constitute a second mini-batch.
[0176] artificial intelligence model
[0177] FIG. 9 illustrates an artificial intelligence model (745) according to another embodiment of the present disclosure. Specifically, FIG. 9 illustrates an example of training the artificial intelligence model (745) through a mini-batch consisting of reference active material images (901, 905) and reference boundary images (991, 995).
[0178] In one embodiment, the artificial intelligence model (745) may be a model based on a convolutional neural network (CNN) or U-NET. In one embodiment, the artificial intelligence model (745) may be a model trained to convert an active material image into a boundary image.
[0179] Referring to FIG. 9, the artificial intelligence model (745) may include a plurality of layers (910, 920, 930, 940, 950, 960, 970). The plurality of layers (910, 920, 930, 940, 950, 960, 970) may be sequentially connected. The input of the sequentially connected layers may be the output of the layer that is connected immediately before, and the output of the sequentially connected layers may be the input of the layer that is connected immediately after. For example, the output of the layer (910) may be the input of the layer (920).
[0180] At least two layers (e.g., layers (910, 970), layers (920, 960), or layers (930, 950)) among the plurality of layers (910, 920, 930, 940, 950, 960, 970) may be connected by a skip connection (915, 925, 935). In one embodiment, the skip connection (915, 925, 935) may connect a layer included in an encoding area (e.g., layers (910, 920, 930)) and a layer included in a decoding area (e.g., layers (950, 960, 970)) among the plurality of layers (910, 920, 930, 940, 950, 960, 970). Here, skip connections (915, 925, 935) may mean connections between layers for inputting the outputs of layers (910, 920, 930) to layers (950, 960, 970). For example, the outputs of layer (940) and layer (930) may be input to layer (950) through skip connections (935).
[0181] In one embodiment, the plurality of layers (910, 920, 930, 940, 950, 960, 970) may include an input layer, a batch normalization layer, a 2D convolution layer, an activation layer, a max pooling layer, an upsampling layer, a concatenation layer, or a combination thereof. For example, a layer included in an encoding region (e.g., layers (910, 920, 930)) may have a structure in which a 2D convolution layer, a batch normalization layer, an activation layer, and a max pooling layer are sequentially connected. In another example, a layer included in a decoding region (e.g., layers (950, 960, 970)) may have a structure in which a 2D convolution layer, a batch normalization layer, an activation layer, and an upsampling layer are sequentially connected.
[0182] In one embodiment, the input layer may be a layer that receives bit values included in a reference active material image (901, 905). In one embodiment, the input layer may obtain an input composed of bit values equal to the number of horizontal pixels × the number of vertical pixels × the number of channels (or depth). For example, when the reference active material image has a size of N × N, the input layer may receive N × N × 1 bit values. Here, N may be an integer between 32 and 4096 (e.g., 256). Depending on the embodiment, the number of channels may also be referred to as depth.
[0183] In one embodiment, the batch normalization layer may be a layer for normalizing the output values of the previous layer on a batch basis. According to an embodiment, the batch normalization layer may be positioned immediately before the activation layer. Here, the batch may include reference active material images input during one iteration to train the artificial intelligence model (745). For example, when the batch size is 4, the number of reference active material images input to the artificial intelligence model (745) during one iteration may be 4. Here, the batch size may be an integer between 1 and 512 (e.g., 4).
[0184] In one embodiment, the 2D convolution layer may be a layer for obtaining an output by performing a convolution operation on an input and a filter of a specified size. In one embodiment, the 2D convolution layer included in the artificial intelligence model (745) assumes that the image size of the output (the number of horizontal pixels × the number of vertical pixels) is the same as the image size of the input (the number of horizontal pixels × the number of vertical pixels). In one embodiment, the number of channels of the output may change depending on the number of filters (or the depth of the filters) of the 2D convolution layer. For example, when the number of filters is 2, the number of channels of the output may increase by twice compared to the number of channels of the input. In one embodiment, the number of channels of the output may change depending on the stride in the depth direction of the 2D convolution layer. For example, when the stride in the depth direction is 2, the number of channels of the output may be reduced by half compared to the number of channels of the input.
[0185] In one embodiment, an activation layer may be a layer that obtains an output by applying a specified activation function to an input. For example, the specified activation function may include a step, a sigmoid, a rectifier linear unit (ReLU), an exponential linear unit (ELU), a softmax, or a combination thereof.
[0186] In one embodiment, the max pooling layer may be a layer for obtaining an output by selecting the largest value in each pooling region of the input. In one embodiment, the image size of the output (i.e., the number of horizontal pixels and the number of vertical pixels) may change depending on the size of the pooling region of the max pooling layer. For example, when the size of the pooling region is 2 × 2, the image size of the output (e.g., 128 × 128) may be reduced by half compared to the image size of the input (e.g., 256 × 256). According to an embodiment, the artificial intelligence model (745) may include a pooling layer of a different type than the max pooling layer. For example, the pooling layer of a different type may include an average pooling layer.
[0187] In one embodiment, the upsampling layer may be a layer for increasing the resolution of an image. In one embodiment, the upsampling layer may be a layer for increasing the size of an output image compared to the size of an input image using a specified interpolation algorithm.
[0188] In one embodiment, a concatenation layer can concatenate two or more inputs and output an output. Here, the concatenation can be a connection in the depth direction. For example, if a first input is 128 × 128 × 128 and a second input is 128 × 128 × 128, the output of the concatenation layer can be 128 × 128 × 256. If another first input is 256 × 256 × 64 and a second input is 128 × 128 × 128, the output of the concatenation layer can be 256 × 256 × 128.
[0189] In FIG. 9, the number of layers (910, 920, 930, 940, 950, 960, 970) is illustrated as being 7, but this is merely an example, and the number of layers is not limited to 7. For example, the number of layers included in the artificial intelligence model (745) may be 32.
[0190] When the number of layers included in the artificial intelligence model (745) is 32, the artificial intelligence model (745) may have a structure in which an input layer, a first batch normalization layer, a first 2D convolution layer, and a second 2D convolution layer are sequentially connected. The input of the sequentially connected layers may be the output of the layer connected immediately before, and the output of the sequentially connected layers may be the input of the layer connected immediately after. Here, the input of the input layer may be 256 × 256 × 1, and the output may be 256 × 256 × 1. The output of the first batch normalization layer may be 256 × 256 × 1. The output of the first 2D convolution layer may be 256 × 256 × 64. The output of the second 2D convolution layer may be 256 × 256 × 64.
[0191] Following the second 2D convolution layer, the artificial intelligence model (745) may have a structure in which a second batch normalization layer, a first activation layer, and a first max pooling layer are sequentially connected. Here, the output of the second batch normalization layer may be 256 × 256 × 64. The output of the first activation layer may be 256 × 256 × 64. The output of the first max pooling layer may be 128 × 128 × 64.
[0192] Following the first max pooling layer, the artificial intelligence model (745) may have a structure in which a third 2D convolution layer, a fourth 2D convolution layer, a third batch normalization layer, a second activation layer, and a second max pooling layer are sequentially connected. Here, the output of the third 2D convolution layer may be 128 × 128 × 128. The output of the fourth 2D convolution layer may be 128 × 128 × 128. The output of the third batch normalization layer may be 128 × 128 × 128. The output of the second activation layer may be 128 × 128 × 128. The output of the second max pooling layer may be 64 × 64 × 128.
[0193] Following the second max pooling layer, the artificial intelligence model (745) may have a structure in which a fifth 2D convolution layer, a sixth 2D convolution layer, a fourth batch normalization layer, a third activation layer, and a first up-sampling layer are sequentially connected. Here, the output of the fifth 2D convolution layer may be 64 × 64 × 256. The output of the sixth 2D convolution layer may be 64 × 64 × 256. The output of the fourth batch normalization layer may be 64 × 64 × 256. The output of the third activation layer may be 64 × 64 × 256. The output of the first up-sampling layer may be 128 × 128 × 256.
[0194] Following the first up-sampling layer, the artificial intelligence model (745) may have a structure in which a seventh 2D convolution layer, a first connection layer, an eighth 2D convolution layer, a ninth 2D convolution layer, a fifth batch normalization layer, a fourth activation layer, and a second up-sampling layer are sequentially connected. Among the two inputs of the first connection layer, the first input may be the output of the seventh 2D convolution layer, and the second input may be the output of the fourth 2D convolution layer. Here, the output of the seventh 2D convolution layer may be 128 × 128 × 128. The output of the first connection layer may be 128 × 128 × 256. The output of the eighth 2D convolution layer may be 128 × 128 × 128. The output of the ninth 2D convolution layer may be 128 × 128 × 128. The output of the fifth batch normalization layer can be 128 × 128 × 128. The output of the fourth activation layer can be 128 × 128 × 128. The output of the second upsampling layer can be 256 × 256 × 128.
[0195] Following the second up-sampling layer, the artificial intelligence model (745) may have a structure in which a tenth 2D convolution layer, a second connection layer, an eleventh 2D convolution layer, a twelfth 2D convolution layer, a sixth batch normalization layer, a fifth activation layer, a thirteenth 2D convolution layer, and a fourteenth 2D convolution layer are sequentially connected. Among the two inputs of the second connection layer, the first input may be the output of the tenth 2D convolution layer, and the second input may be the output of the second 2D convolution layer. Here, the output of the tenth 2D convolution layer may be 256 × 256 × 64. The output of the second connection layer may be 256 × 256 × 128. The output of the eleventh 2D convolution layer may be 256 × 256 × 64. The output of the 12th 2D convolution layer may be 256 × 256 × 64. The output of the 6th batch normalization layer may be 256 × 256 × 64. The output of the 5th activation layer may be 256 × 256 × 64. The output of the 13th 2D convolution layer may be 256 × 256 × 2. The output of the 14th 2D convolution layer may be 256 × 256 × 2.
[0196] AI model training
[0197] Referring to FIG. 9, the operation of the artificial intelligence model learning unit (741) training the artificial intelligence model (745) through images (901, 905, 991, 995) included in the mini-batch is described.
[0198] In one embodiment, the artificial intelligence model learning unit (741) can sequentially input reference activation images (901, 905) into the artificial intelligence model (745).
[0199] In one embodiment, the artificial intelligence model learning unit (741) can train the artificial intelligence model (745) so that the difference between the sequentially acquired output images of the artificial intelligence model (745) and the reference boundary images (991, 995) is less than or equal to a specified reference value.
[0200] For example, the artificial intelligence model learning unit (741) may calculate the difference between the output images and the reference boundary images (991, 995) based on a loss function (or cost function). Here, the loss function may include a mean absolute error function, a root mean square error, a mean square error function, or a binary cross entropy loss function. According to an embodiment, the binary cross entropy loss function may be a function to which a weight between 1 and 1000 is applied to one of two colors (or classes) (e.g., white among black and white).
[0201] Thereafter, the artificial intelligence model learning unit (741) can adjust the weights of the artificial intelligence model (745) so that the difference is less than or equal to a specified reference value (or has a minimum value). In one embodiment, the artificial intelligence model learning unit (741) can adjust the weights of the artificial intelligence model (745) so that the difference is less than or equal to a specified reference value (or has a minimum value) through an algorithm based on gradient descent (e.g., Adam, SGD, Momentum). Here, the adjusted weights can be determined according to a learning rate. The learning rate can be determined between 0.00000001 and 0.1. For example, the learning rate can be 0.0001.
[0202] Thereafter, the artificial intelligence model learning unit (741) can train the artificial intelligence model (745) through the images included in the next mini-batch. Afterwards, when the artificial intelligence model (745) is trained through the images included in all mini-batches, the artificial intelligence model learning unit (741) can train the artificial intelligence model (745) again through the images included in the mini-batches according to the specified number of epochs.
[0203] Image processing using artificial intelligence models
[0204] FIG. 10A illustrates images (1010, 1020, 1030, 1040) resulting from image processing of an image processing device (701) according to another embodiment of the present disclosure.
[0205] In one embodiment, the image acquisition unit (750) can acquire an active material image (1010) for the active material (1011, 1013, 1015). In one embodiment, the image acquisition unit (750) can acquire the active material image (1010) through the image acquisition device (703).
[0206] In one embodiment, the image generation unit (760) can generate a boundary image (1020). In one embodiment, the image generation unit (760) can generate a boundary image (1020) by inputting an active material image (1010) into an artificial intelligence model (745).
[0207] In one embodiment, the boundary removal unit (765) may generate a boundary removal image (1030) by removing a boundary from an active material image (1010) based on a boundary image (1020). In one embodiment, the boundary removal unit (765) may generate a boundary removal image (1030) by subtracting the boundary image (1020) from the active material image (1010). In one embodiment, the boundary removal unit (765) may generate a boundary removal image (1030) by subtracting the boundary image (1020) from the active material image (1010) and then binarizing it. Depending on the embodiment, the boundary removal image may also be referred to as a binary image.
[0208] In one embodiment, the object identification unit (770) can identify a plurality of objects (1031, 1033, 1035) included in the boundary removal image (1030). Here, the plurality of objects (1031, 1033, 1035) included in the boundary removal image (1030) can correspond to the active materials (1011, 1013, 1015) in the active material image (1010). In one embodiment, the plurality of objects (1031, 1033, 1035) can be configured as regions having a specified value (e.g., a value representing a white color). In one embodiment, the plurality of objects (1031, 1033, 1035) can be distinguished by regions having another specified value (e.g., a value representing a black color). In Fig. 10a, only three objects are marked with symbols, but referring to Fig. 10a, it can be seen that other objects exist in the boundary removal image (1030).
[0209] In one embodiment, the image segmentation unit (780) can segment a plurality of active materials (1011, 1013, 1015) included in the active material image (1010) based on a plurality of objects (1031, 1033, 1035) to obtain a segmentation image (1040). In one embodiment, the image segmentation unit (780) can segment a plurality of active materials (1011, 1013, 1015) included in the active material image (1010) based on a watershed algorithm. Accordingly, a plurality of active materials (1011, 1013, 1015) included in the active material image (1010) may correspond to a plurality of active material objects (1041, 1043, 1045) included in the segmentation image (1040), respectively.
[0210] In one embodiment, the information extraction unit (790) may extract information about active materials (1011, 1013, 1015) based on active material objects (1041, 1043, 1045) included in the segmentation image (1040). In one embodiment, the information about the active materials (1011, 1013, 1015) may include information about an average particle diameter, an average circumference, an average sphericity, an average aspect ratio, an average convexity, an average solidity, or a distribution value thereof of the active materials. In addition, the information about the active materials (1011, 1013, 1015) may also include information about an individual particle diameter, a circumference, a sphericity, an aspect ratio, a convexity, and / or a solidity of each of the active materials. Additionally, information about the active materials (1011, 1013, 1015) may also include information about the quantile value of each active material (e.g., 1 to 99 %%, or D5, D50, D95, etc.).
[0211] FIG. 10b illustrates an image difference according to image processing of an image processing device (701) according to another embodiment of the present disclosure.
[0212] Referring to FIG. 10b, although a user can visually recognize the difference between the two active material images (1051, 1053), it is difficult to quantify the difference. However, since the image processing device (701) can acquire information about the active materials by segmenting the active materials as in the two segmentation images (1061, 1063), the active materials can be quantitatively measured.
[0213] FIG. 11 is a flowchart showing an active material image processing method of an image processing device (101) according to another embodiment of the present disclosure.
[0214] Referring to FIG. 11, in operation 1110, the image processing device (701) can acquire an active material image (1010) for the active material (1011, 1013, 1015). In one embodiment, the image processing device (701) can acquire the active material image (1010) through the image acquisition device (703).
[0215] In operation 1120, the image processing device (701) can generate a boundary image (1020) by inputting an active material image (1010) into an artificial intelligence model (745). Here, the artificial intelligence model (745) may be a model learned by the artificial intelligence model learning method according to FIG. 12.
[0216] In operation 1130, the image processing device (701) can generate a boundary-removed image (1030) by removing a boundary from the active material image (1010) based on the boundary image (1020). In one embodiment, the image processing device (701) can generate a boundary-removed image (1030) by subtracting the boundary image (1020) from the active material image (1010). In one embodiment, the image processing device (701) can generate a boundary-removed image (1030) by subtracting the boundary image (1020) from the active material image (1010) and then binarizing it.
[0217] In operation 1140, the image processing device (701) can identify a plurality of objects (1031, 1033, 1035) included in the boundary removal image (1030).
[0218] In operation 1150, the image processing device (701) can segment the plurality of active materials (1011, 1013, 1015) included in the active material image (1010) based on the plurality of objects (1031, 1033, 1035) to obtain a segmentation image (1040). In one embodiment, the image processing device (701) can segment the plurality of active materials (1011, 1013, 1015) included in the active material image (1010) based on a watershed algorithm. Accordingly, the plurality of active materials (1011, 1013, 1015) included in the active material image (1010) can correspond to the plurality of active material objects (1041, 1043, 1045) included in the segmentation image (1040), respectively.
[0219] Fig. 12 is a flowchart illustrating an artificial intelligence model learning method of an image processing device (701) according to another embodiment of the present disclosure. The operations of Fig. 12 may be applied during the first epoch for learning data.
[0220] Referring to FIG. 12, in operation 1210, the image processing device (701) may set parameters of the artificial intelligence model (745). In one embodiment, the image processing device (701) may set parameters of the artificial intelligence model (745) based on initial parameter values.
[0221] In operation 1215, the image processing device (701) may set i to 1. i may represent an index of an image set included in the learning data. Here, the image set may include a reference active material image and a reference boundary image therefor.
[0222] In operation 120, the image processing device (701) can obtain an output image based on the i-th reference active material image. In one embodiment, the image processing device (701) can generate an output image by inputting the i-th reference active material image into the artificial intelligence model (745).
[0223] In operation 1230, the image processing device (701) may determine whether the difference between the output image and the i-th reference boundary image is less than or equal to a reference. In one embodiment, the image processing device (701) may calculate the difference between the output image and the i-th reference boundary image based on a loss function (or cost function). Here, the loss function may include a mean absolute error function, a root mean square error, a mean square error function, or a binary cross entropy loss function. According to an embodiment, the binary cross entropy loss function may be a function to which a weight between 1 and 1000 is applied for one of two colors (or classes) (e.g., white among black and white).
[0224] As a result of the judgment in operation 1230, if the difference is below the standard (yes judgment), the image processing device (701) can proceed to operation 1250. As a result of the judgment in operation 1230, if the difference exceeds the standard (no judgment), the image processing device (101) can proceed to operation 1240.
[0225] In operation 1240, the image processing device (701) may adjust the parameters of the artificial intelligence model (745). In one embodiment, the image processing device (701) may adjust the parameters of the artificial intelligence model (745) so that the difference is less than or equal to a specified reference value (or has a minimum value). In one embodiment, the image processing device (701) may adjust the parameters of the artificial intelligence model (745) so that the difference is less than or equal to a specified reference value (or has a minimum value) through an algorithm based on gradient descent (e.g., Adam, SGD, Momentum). Here, the adjusted weights may be determined according to a learning rate. The learning rate may be determined between 0.00000001 and 0.1. For example, the learning rate may be 0.0001.
[0226] In operation 1250, the image processing device (701) may determine whether learning is complete. In one embodiment, if i represents the last of the image set, learning may be determined to be complete.
[0227] If the judgment result in operation 1250 indicates that learning is complete (yes judgment), the image processing device (701) may terminate the operations according to FIG. 12. If the judgment result in operation 1250 indicates that learning is not complete (no judgment), the image processing device (701) may proceed to operation 655.
[0228] In operation 1255, the image processing device (701) may increase the value of i by 1. Thereafter, operation 1220 may be performed again.
[0229] In the present disclosure, the image processing device (701) is exemplified as performing an image processing method based on an image of an active material, but this is merely an example. According to an embodiment, the image processing device (701) can perform the same image processing on not only an image of an active material but also an image of a precursor, thereby separating and / or analyzing particles. The image acquisition device (703) can acquire images of the active material and / or the precursor.
[0230] In addition, in the present disclosure, the active material image is exemplified as an SEM image, but this is merely an example. Depending on the embodiment, the active material image may be replaced with an image based on a transmission electron microscope (TEM), an optical microscope (OM), a structured illumination microscopy (SIM), or a fused ion beam (FIB).
[0231] The image processing device (701) and its operation method as described above obtain an active material image (1010) for a plurality of active materials (1011, 1013, 1015), input the active material image (1010) into an artificial intelligence model (745) to generate a boundary image (1020), remove a boundary from the active material image (1010) based on the boundary image (1020) to generate a boundary-removed image (1030), identify a plurality of objects (1031, 1033, 1035) included in the boundary-removed image (1030), and then segment the plurality of active materials (1011, 1013, 1015) included in the active material image (1010) based on the plurality of objects (1031, 1033, 1035), thereby automatically quantifying the shape characteristics of a large amount of positive electrode active material particles. Can be analyzed.
[0232] In addition, the image processing device (701) and its operating method as described above can minimize the problem of measurement values varying depending on the user by utilizing an artificial intelligence model (745) that minimizes user input.
[0233] Meanwhile, although the above example illustrates a case where the active material image is a positive electrode active material image, the technical idea disclosed in this document can be substantially equally applied even when the active material image is a negative electrode active material image.
[0234] FIG. 13 is a block diagram of an image processing device (1301) according to another embodiment of the present disclosure.
[0235] Referring to FIG. 13, the image processing device (1301) can be connected to the image acquisition device (1303) wired and / or wirelessly.
[0236] In one embodiment, the connection (1305) between the image processing device (1301) and the image acquisition device (1303) may be a communication connection via a wired and / or wireless network. In one embodiment, the wired network may be based on a local area network (LAN) communication or a power line communication. In one embodiment, the wireless network may be based on a short-range communication network (e.g., Bluetooth, wireless fidelity (WiFi), or infrared data association (IrDA)) or a wide-range communication network (cellular network, 4G network, 5G network).
[0237] In another embodiment, the connection (1305) between the image processing device (1301) and the image acquisition device (1303) may be a connection via a device-to-device communication method (e.g., a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)).
[0238] In one embodiment, the image acquisition device (1303) can acquire images of an active material and / or a precursor. Hereinafter, the images of the active material and / or the precursor may be referred to as active material images. However, even if referred to as active material images, the present disclosure does not exclude images of precursors.
[0239] In one embodiment, the image acquisition device (1303) may be a microscope (e.g., a scanning electron microscope). In one embodiment, the image acquisition device (1303) may be a device that acquires an image of a sample surface by scanning a focused electron beam across the sample surface and converting secondary electrons generated by the interaction between the electron beam and the sample into image signals.
[0240] In one embodiment, the image acquisition device (1303) can acquire an active material image for the active material. For example, the image acquisition device (1303) can acquire a scanning electron microscope (SEM) image by scanning an electron beam on a positive or negative active material powder. That is, the SEM image can include a positive active material image and a negative active material image. According to embodiments, the SEM image can be replaced with an image based on a transmission electron microscope (TEM), an optical microscope (OM), a structured illumination microscopy (SIM), or a fused ion beam (FIB).
[0241] In one embodiment, the image acquisition device (1303) can transmit an active material image of the active material to the image processing device (1301). For example, the image acquisition device (1303) can transmit an active material image of the active material to the image processing device (1301) via a connection (1305).
[0242] In one embodiment, the image processing device (1301) may be a mobile device (e.g., a mobile phone, a laptop computer, a smart phone, a smart pad), a computer (e.g., a general-purpose computer, a special-purpose computer).
[0243] In one embodiment, the image processing device (1301) may include a communication circuit (1310), a memory (1320), and a processor (1330). According to an embodiment, the image processing device (1301) illustrated in FIG. 13 may further include at least one component (e.g., a display, an input device, or an output device) other than the components illustrated in FIG. 13.
[0244] In one embodiment, the communication circuit (1310) can establish a wired communication channel and / or a wireless communication channel between the image processing device (1301) and / or the image acquisition device (1303), and transmit and receive data to and from the image acquisition device (1303) through the established communication channel.
[0245] In one embodiment, the memory (1320) may include volatile memory and / or non-volatile memory.
[0246] In one embodiment, the memory (1320) may store data used by at least one component (e.g., the processor (1330)) of the image processing device (1301). For example, the data may include a program (1325) (or instructions related thereto), input data, or output data. In one embodiment, the instructions, when executed by the processor (1330), may cause the image processing device (1301) to perform operations defined by the instructions.
[0247] In one embodiment, the memory (1320) may include a program (1325) (e.g., an artificial intelligence model learning unit (1341), an artificial intelligence model (1345), an image acquisition unit (1350), an image generation unit (1360), a distance transformation unit (1361), a binary image filtering unit (1365), an object identification unit (1370), an image segmentation unit (1380), and / or an information extraction unit (1390)).
[0248] In one embodiment, the processor (1330) may include a central processing unit, an application processor, a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
[0249] In one embodiment, the processor (1330) may execute a program (1325) (e.g., an artificial intelligence model learning unit (1341), an artificial intelligence model (1345), an image acquisition unit (1350), an image generation unit (1360), a distance transformation unit (1361), a binary image filtering unit (1365), an object identification unit (1370), an image segmentation unit (1380), and / or an information extraction unit (1390)) to control at least one other component (e.g., a hardware or software component) of an image processing device (1301) connected to the processor (1330) and perform various data processing or calculations.
[0250] In one embodiment, the artificial intelligence model learning unit (1341) may learn the artificial intelligence model (1345) based on learning data. In one embodiment, the artificial intelligence model (1345) may be a model learned to convert an active material image into a binary image. In one embodiment, the image acquisition unit (1350) may acquire an active material image of the active material from the image acquisition device (1303). In one embodiment, the image generation unit (1360) may generate a binary image by inputting the active material image into the artificial intelligence model (1345). In one embodiment, the distance conversion unit (1361) may convert the binary image into a distance conversion image based on a distance conversion algorithm. In one embodiment, the binary image filtering unit (1365) may filter the binary image using a threshold value set based on the distance conversion image. In one embodiment, the object identification unit (1370) may identify a plurality of objects included in the filtered binary image. In one embodiment, the image segmentation unit (1380) may segment a plurality of active materials included in an active material image based on a plurality of objects to obtain a segmentation image. In one embodiment, the information extraction unit (1390) may extract information about an active material based on the active material objects included in the segmentation image.
[0251] Hereinafter, with reference to FIGS. 14, 15, 16a, and 16b, a method for processing an image acquired from an image acquisition device (1303) by an image processing device (1301) through an artificial intelligence model learning unit (1341), an artificial intelligence model (1345), an image acquisition unit (1350), an image generation unit (1360), a distance transformation unit (1361), a binary image filtering unit (1365), an object identification unit (1370), an image segmentation unit (1380), and / or an information extraction unit (1390) will be specifically described.
[0252] Training data
[0253] Figure 14 illustrates learning data according to another embodiment of the present disclosure.
[0254] Referring to FIG. 14, the learning data may include reference active material images (1411, 1421, 1431) and reference binary images (1451, 1461, 1471).
[0255] The sizes of the reference active material images (1411, 1421, 1431) and the reference binary images (1451, 1461, 1471) included in the training data may be the same. In one embodiment, the size of the image may be defined as the number of horizontal pixels × the number of vertical pixels. The number of horizontal pixels of the images included in the training data may be an integer between 32 and 4096, and the number of vertical pixels may be an integer between 32 and 4096. For example, the size of the image may be 256 × 256.
[0256] In one embodiment, the plurality of reference active material images (1411, 1421, 1431) may include one or more first reference active material images and one or more second reference active material images.
[0257] In one embodiment, the first reference active material images may be acquired by photographing the active material powder. In one embodiment, the first reference active material images may be SEM images acquired directly through an image acquisition device (1303).
[0258] In one embodiment, the second reference active material images may be images transformed from the first reference active material images. In one embodiment, the second reference active material images may be generated by applying a first image processing algorithm specified for the first reference active material images. Here, the first image processing algorithm may include rotation, tilt, shear, brightness adjustment, contrast adjustment, zoom in, zoom out, or a combination thereof.
[0259] In one embodiment, the plurality of reference binary images (1451, 1461, 1471) may include one or more first reference binary images and one or more second reference binary images.
[0260] In one embodiment, the first reference binary images may be generated by applying a second image processing algorithm to the first reference active material image. Here, the second image processing algorithm may include a mean shift filter, a boundary extraction algorithm, a boundary removal algorithm, a binarization algorithm, or a combination thereof.
[0261] In one embodiment, the second reference binary images may be images transformed from the first reference binary images. In one embodiment, the second reference binary images may be generated by applying a first image processing algorithm specified to the first reference binary images. Here, the first image processing algorithm may include rotation, tilt, share, brightness adjustment, contrast adjustment, zoom in, zoom out, or a combination thereof.
[0262] In one embodiment, the first reference binary images may be binary images of the first reference active material images, and the second reference binary images may be binary images of the second reference active material images. For example, the reference binary image (1451) may be a binary image for the reference active material image (1411), the reference binary image (1461) may be a binary image for the reference active material image (1421), and the reference binary image (1471) may be a binary image for the reference active material image (1431). Accordingly, the plurality of reference active material images (1411, 1421, 1431) and the plurality of reference binary images (1451, 1461, 1471) may be distinguished as image sets with respect to the corresponding images. For example, the reference active material image (1411) and the reference binary image (1451) may be distinguished as one image set.
[0263] In one embodiment, the training data may be used to train an artificial intelligence model (1345). In one embodiment, the training data may be used to train the artificial intelligence model (1345) for a specified number of epochs. Here, the specified number of epochs may be determined between 100 and 10,000. For example, the specified number of epochs may be 1,500.
[0264] In one embodiment, the training data may be divided into mini-batches, each divided by a batch size. The batch size may be determined between 1 and 512. For example, the batch size may be 16. If the batch size is 4, each of the 16 image sets (i.e., 16 reference active material images and 16 reference binary images) may be divided into a mini-batch.
[0265] artificial intelligence model
[0266] FIG. 15 illustrates an artificial intelligence model (1345) according to one embodiment of the present disclosure. Specifically, FIG. 15 illustrates an example of training the artificial intelligence model (1345) using mini-batches consisting of reference active material images (1501, 1503, 1505) and reference binary images (1591, 1593, 1595).
[0267] In one embodiment, the artificial intelligence model (1345) may be a model based on a convolutional neural network (CNN) or U-NET. In one embodiment, the artificial intelligence model (1345) may be a model trained to convert an active material image into a binary image.
[0268] Referring to FIG. 15, the artificial intelligence model (1345) may include a plurality of layers (1510, 1520, 1530, 1540, 1550, 1560, 1570). The plurality of layers (1510, 1520, 1530, 1540, 1550, 1560, 1570) may be sequentially connected. The input of the sequentially connected layers may be the output of the layer that is connected immediately before, and the output of the sequentially connected layers may be the input of the layer that is connected immediately after. For example, the output of layer (1510) may be the input of layer (1520).
[0269] At least two layers (e.g., layers (1510, 1570), layers (1520, 1560), or layers (1530, 1550)) among the plurality of layers (1510, 1520, 1530, 1540, 1550, 1560, 1570) may be connected by a skip connection (1515, 1525, 1535). In one embodiment, skip connections (1515, 1525, 1535) may connect layers included in an encoding area (e.g., layers (1510, 1520, 1530)) and layers included in a decoding area (e.g., layers (1550, 1560, 1570)) among the plurality of layers (1510, 1520, 1530, 1540, 1550, 1560, 1570). Here, skip connections (1515, 1525, 1535) may mean connections between layers for inputting the outputs of the layers (1510, 1520, 1530) to the layers (1550, 1560, 1570). For example, the output of layer (1540) and the output of layer (1530) can be input to layer (1550) by skip connection (1535).
[0270] In one embodiment, the plurality of layers (1510, 1520, 1530, 1540, 1550, 1560, 1570) may include an input layer, a batch normalization layer, a 2D convolution layer, an activation layer, a max pooling layer, an upsampling layer, a concatenation layer, or a combination thereof. For example, a layer included in an encoding region (e.g., layers (1510, 1520, 1530)) may have a structure in which a 2D convolution layer, a batch normalization layer, an activation layer, and a max pooling layer are sequentially connected. In another example, a layer included in a decoding region (e.g., layers (1550, 1560, 1570)) may have a structure in which a 2D convolution layer, a batch normalization layer, an activation layer, and an upsampling layer are sequentially connected.
[0271] In one embodiment, the input layer may be a layer that receives bit values included in the reference active material images (1501, 1503, 1505). In one embodiment, the input layer may obtain an input composed of bit values equal to the number of horizontal pixels × the number of vertical pixels × the number of channels (or depth). For example, when the reference active material image has a size of N × N, the input layer may receive N × N × 1 bit values. Here, N may be an integer between 32 and 4096 (e.g., 256). Depending on the embodiment, the number of channels may also be referred to as depth.
[0272] In one embodiment, the batch normalization layer may be a layer for normalizing the output values of the previous layer on a batch basis. According to an embodiment, the batch normalization layer may be positioned immediately before the activation layer. Here, the batch may include reference active material images input during one iteration to train the artificial intelligence model (1345). For example, when the batch size is 16, the number of reference active material images input to the artificial intelligence model (1345) during one iteration may be 16. Here, the batch size may be an integer between 1 and 512 (e.g., 16).
[0273] In one embodiment, the 2D convolution layer may be a layer for obtaining an output by performing a convolution operation on an input and a filter of a specified size. In one embodiment, the 2D convolution layer included in the artificial intelligence model (1345) assumes that the image size of the output (the number of horizontal pixels × the number of vertical pixels) is the same as the image size of the input (the number of horizontal pixels × the number of vertical pixels). In one embodiment, the number of channels of the output may change depending on the number of filters (or the depth of the filters) of the 2D convolution layer. For example, when the number of filters is 2, the number of channels of the output may increase by twice compared to the number of channels of the input. In one embodiment, the number of channels of the output may change depending on the stride in the depth direction of the 2D convolution layer. For example, when the stride in the depth direction is 2, the number of channels of the output may be reduced by half compared to the number of channels of the input.
[0274] In one embodiment, an activation layer may be a layer that obtains an output by applying a specified activation function to an input. For example, the specified activation function may include a step, a sigmoid, a rectifier linear unit (ReLU), an exponential linear unit (ELU), a softmax, or a combination thereof.
[0275] In one embodiment, the max pooling layer may be a layer for obtaining an output by selecting the largest value in each pooling region of the input. In one embodiment, the image size of the output (i.e., the number of horizontal pixels and the number of vertical pixels) may change depending on the size of the pooling region of the max pooling layer. For example, when the size of the pooling region is 2 × 2, the image size of the output (e.g., 128 × 128) may be reduced by half compared to the image size of the input (e.g., 256 × 256). According to an embodiment, the artificial intelligence model (1345) may include a pooling layer of a different type than the max pooling layer. For example, the pooling layer of a different type may include an average pooling layer.
[0276] In one embodiment, the upsampling layer may be a layer for increasing the resolution of an image. In one embodiment, the upsampling layer may be a layer for increasing the size of an output image compared to the size of an input image using a specified interpolation algorithm.
[0277] In one embodiment, a concatenation layer can concatenate two or more inputs and output an output. Here, the concatenation can be a connection in the depth direction. For example, if a first input is 128 × 128 × 128 and a second input is 128 × 128 × 128, the output of the concatenation layer can be 128 × 128 × 256. If another first input is 256 × 256 × 64 and a second input is 128 × 128 × 128, the output of the concatenation layer can be 256 × 256 × 128.
[0278] In FIG. 15, the number of layers (1510, 1520, 1530, 1540, 1550, 1560, 1570) is illustrated as being 7, but this is merely an example, and the number of layers is not limited to 7. For example, the number of layers included in the artificial intelligence model (1345) may be 32.
[0279] When the number of layers included in the artificial intelligence model (1345) is 32, the artificial intelligence model (1345) may have a structure in which an input layer, a first batch normalization layer, a first 2D convolution layer, and a second 2D convolution layer are sequentially connected. The input of the sequentially connected layers may be the output of the layer connected immediately before, and the output of the sequentially connected layers may be the input of the layer connected immediately after. Here, the input of the input layer may be 256 × 256 × 1, and the output may be 256 × 256 × 1. The output of the first batch normalization layer may be 256 × 256 × 1. The output of the first 2D convolution layer may be 256 × 256 × 64. The output of the second 2D convolution layer may be 256 × 256 × 64.
[0280] Following the second 2D convolution layer, the artificial intelligence model (1345) may have a structure in which a second batch normalization layer, a first activation layer, and a first max pooling layer are sequentially connected. Here, the output of the second batch normalization layer may be 256 × 256 × 64. The output of the first activation layer may be 256 × 256 × 64. The output of the first max pooling layer may be 128 × 128 × 64.
[0281] Following the first max pooling layer, the artificial intelligence model (1345) may have a structure in which a third 2D convolution layer, a fourth 2D convolution layer, a third batch normalization layer, a second activation layer, and a second max pooling layer are sequentially connected. Here, the output of the third 2D convolution layer may be 128 × 128 × 128. The output of the fourth 2D convolution layer may be 128 × 128 × 128. The output of the third batch normalization layer may be 128 × 128 × 128. The output of the second activation layer may be 128 × 128 × 128. The output of the second max pooling layer may be 64 × 64 × 128.
[0282] Following the second max pooling layer, the artificial intelligence model (1345) may have a structure in which a fifth 2D convolution layer, a sixth 2D convolution layer, a fourth batch normalization layer, a third activation layer, and a first up-sampling layer are sequentially connected. Here, the output of the fifth 2D convolution layer may be 64 × 64 × 256. The output of the sixth 2D convolution layer may be 64 × 64 × 256. The output of the fourth batch normalization layer may be 64 × 64 × 256. The output of the third activation layer may be 64 × 64 × 256. The output of the first up-sampling layer may be 128 × 128 × 256.
[0283] Following the first up-sampling layer, the artificial intelligence model (1345) may have a structure in which a seventh 2D convolution layer, a first connection layer, an eighth 2D convolution layer, a ninth 2D convolution layer, a fifth batch normalization layer, a fourth activation layer, and a second up-sampling layer are sequentially connected. Among the two inputs of the first connection layer, the first input may be the output of the seventh 2D convolution layer, and the second input may be the output of the fourth 2D convolution layer. Here, the output of the seventh 2D convolution layer may be 128 × 128 × 128. The output of the first connection layer may be 128 × 128 × 256. The output of the eighth 2D convolution layer may be 128 × 128 × 128. The output of the ninth 2D convolution layer may be 128 × 128 × 128. The output of the fifth batch normalization layer can be 128 × 128 × 128. The output of the fourth activation layer can be 128 × 128 × 128. The output of the second upsampling layer can be 256 × 256 × 128.
[0284] Following the second up-sampling layer, the artificial intelligence model (1345) may have a structure in which a tenth 2D convolution layer, a second connection layer, an eleventh 2D convolution layer, a twelfth 2D convolution layer, a sixth batch normalization layer, a fifth activation layer, a thirteenth 2D convolution layer, and a fourteenth 2D convolution layer are sequentially connected. Among the two inputs of the second connection layer, the first input may be the output of the tenth 2D convolution layer, and the second input may be the output of the second 2D convolution layer. Here, the output of the tenth 2D convolution layer may be 256 × 256 × 64. The output of the second connection layer may be 256 × 256 × 128. The output of the eleventh 2D convolution layer may be 256 × 256 × 64. The output of the 12th 2D convolution layer may be 256 × 256 × 64. The output of the 6th batch normalization layer may be 256 × 256 × 64. The output of the 5th activation layer may be 256 × 256 × 64. The output of the 13th 2D convolution layer may be 256 × 256 × 2. The output of the 14th 2D convolution layer may be 256 × 256 × 2.
[0285] AI model training
[0286] Referring to FIG. 15, the operation of the artificial intelligence model learning unit (1341) training the artificial intelligence model (1345) through images (1501, 1503, 1505, 1591, 1593, 1595) included in the mini-batch is described.
[0287] In one embodiment, the artificial intelligence model learning unit (1341) can sequentially input reference activation images (1501, 1503, 1505) into the artificial intelligence model (1345).
[0288] In one embodiment, the artificial intelligence model learning unit (1341) can train the artificial intelligence model (1345) so that the difference between the sequentially acquired output images of the artificial intelligence model (1345) and the reference binary images (1591, 1593, 1595) is less than or equal to a specified reference value.
[0289] For example, the artificial intelligence model learning unit (1341) may calculate the difference between the output images and the reference binary images (1591, 1593, 1595) based on a loss function (or cost function). Here, the loss function may include a mean absolute error function, a root mean square error, a mean square error function, or a binary cross entropy loss function. According to an embodiment, the binary cross entropy loss function may be a function to which a weight between 1 and 1000 is applied to one of two colors (or classes) (e.g., white among black and white).
[0290] Thereafter, the artificial intelligence model learning unit (1341) can adjust the weights of the artificial intelligence model (1345) so that the difference is less than or equal to a specified reference value (or has a minimum value). In one embodiment, the artificial intelligence model learning unit (1341) can adjust the weights of the artificial intelligence model (1345) so that the difference is less than or equal to a specified reference value (or has a minimum value) through an algorithm based on gradient descent (e.g., Adam, SGD, Momentum). Here, the adjusted weights can be determined according to a learning rate. The learning rate can be determined between 0.00000001 and 0.1. For example, the learning rate can be 0.00001.
[0291] Thereafter, the artificial intelligence model learning unit (1341) can train the artificial intelligence model (1345) through the images included in the next mini-batch. Afterwards, when the artificial intelligence model (1345) is trained through the images included in all mini-batches, the artificial intelligence model learning unit (1341) can train the artificial intelligence model (1345) again through the images included in the mini-batches according to the specified number of epochs.
[0292] Image processing using artificial intelligence models
[0293] FIG. 16A illustrates images (1610, 1620, 1630, 1640, 1650, 1660) obtained by image processing of an image processing device (1301) according to an embodiment of the present disclosure.
[0294] In one embodiment, the image acquisition unit (1350) can acquire an active material image (1610) for the active material. In one embodiment, the image acquisition unit (1350) can acquire the active material image (1610) through the image acquisition device (1303).
[0295] In one embodiment, the image generation unit (1360) can generate a binary image (1620). In one embodiment, the image generation unit (1360) can generate a binary image (1620) by inputting an active material image (1610) into an artificial intelligence model (1345).
[0296] In one embodiment, the distance transformation unit (1361) can transform a binary image (1620) into a distance transformation image (1640) based on a distance transformation algorithm.
[0297] In one embodiment, the distance transformation unit (1361) may generate a distance transformation image (1640) by calculating the distance from each pixel included in the binary image (1620) to the nearest black pixel (or a pixel representing a boundary) and normalizing the calculated distance for each pixel. Here, the image (1630) may represent the distance from each pixel included in the binary image (1620) to the nearest black pixel (or a pixel representing a boundary). Accordingly, the values of the pixels included in the image (1630) may be distance values before normalization, and the values of the pixels included in the distance transformation image (1640) may be distance values after normalization. Depending on the embodiment, the distance between pixels may be calculated based on the L1 distance or the L2 distance.
[0298] In one embodiment, the distance transformation unit (1361) can generate a distance transformation image (1640) by identifying a maximum distance among the distances calculated for each of the pixels included in the binary image (1620) and performing max-min normalization on the distances calculated for each of the pixels based on the maximum distance. Depending on the embodiment, the distance transformation unit (1361) can generate the distance transformation image (1640) based on Z-score normalization, L1 normalization, or L2 normalization rather than max-min normalization.
[0299] In one embodiment, the binary image filtering unit (1365) may filter the binary image (1620) using a threshold value set based on the distance transformation image (1640). Here, the threshold value may be a value obtained by multiplying the normalized maximum distance of the distance transformation image (1640) by a specified ratio. For example, the specified ratio may be a value between 0 and 0.1.
[0300] In one embodiment, the binary image filtering unit (1365) can generate a filtered binary image (1650) by filtering the binary image (1620) based on the distance transformed image (1640).
[0301] In one embodiment, the binary image filtering unit (1365) may filter the binary image (1620) by selecting pixels having a distance value lower than a specified threshold among the pixels included in the distance transformation image (1640), and setting the color values of pixels corresponding to the pixels selected in the distance transformation image (1640) among the pixels included in the binary image (1620) to a specified color value (i.e., a color value corresponding to black).
[0302] In one embodiment, the object identification unit (1370) can identify a plurality of objects included in the filtered binary image (1650). Here, the plurality of objects included in the filtered binary image (1650) can correspond to active materials in the active material image (1610). In one embodiment, the plurality of objects can be composed of regions having a designated value (e.g., a value representing a white color). In one embodiment, the plurality of objects can be distinguished by regions having another designated value (e.g., a value representing a black color).
[0303] In one embodiment, the image segmentation unit (1380) may segment a plurality of active materials included in the active material image (1610) based on a plurality of objects to obtain a segmentation image (1660). In one embodiment, the image segmentation unit (1380) may segment a plurality of active materials included in the active material image (1610) based on a watershed algorithm. Accordingly, the plurality of active materials included in the active material image (1610) may respectively correspond to a plurality of active material objects included in the segmentation image (1660).
[0304] In one embodiment, the information extraction unit (1390) may extract information about active materials based on active material objects included in the segmentation image (1660). In one embodiment, the information about the active materials may include information about an average particle diameter, an average perimeter, an average sphericity, an average aspect ratio, an average convexity, an average solidity, or a distribution value thereof of the active materials. In addition, the information about the active materials may also include information about an individual particle diameter, a perimeter, a sphericity, an aspect ratio, a convexity, and / or a solidity of each active material. In addition, the information about the active materials (1611, 1613, 1615) may also include quantile information about a quantile value of each active material information (e.g., 1 to 99 %%, or D5, D50, D95, etc.).
[0305] FIG. 16b illustrates an image difference according to image processing of an image processing device (1301) according to an embodiment of the present disclosure.
[0306] Referring to FIG. 16b, three filtered binary images (1651, 1653, 1655) are images generated by applying different thresholds to the binary images. For example, the filtered binary image (1651) may be filtered using a threshold value obtained by multiplying the normalized maximum distance by 0, the filtered binary image (1653) may be filtered using a threshold value obtained by multiplying the normalized maximum distance by 0.05, and the filtered binary image (1655) may be filtered using a threshold value obtained by multiplying the normalized maximum distance by 0.1.
[0307] Referring to regions (1652, 1654, 1656) of the filtered binary images (1651, 1653, 1655) and regions (1662, 1664, 1666) of the segmentation images (1661, 1662, 1664), it can be seen that even when the threshold is increased, loss of small particles is prevented and separation between adjacent particles becomes clear.
[0308] FIG. 17 is a flowchart illustrating an active material image processing method of an image processing device (1301) according to one embodiment of the present disclosure.
[0309] Referring to FIG. 17, in operation 1710, the image processing device (1301) can acquire an active material image (1610) for the active material. In one embodiment, the image processing device (1301) can acquire the active material image (1610) through the image acquisition device (1303).
[0310] In operation 1720, the image processing device (1301) can generate a binary image (1620) by inputting an active material image (1610) into an artificial intelligence model (1345). Here, the artificial intelligence model (1345) may be a model learned by the artificial intelligence model learning method according to FIG. 6.
[0311] In operation 1730, the image processing device (1301) can convert the binary image (1620) into a distance transformed image (1640) based on a distance transform algorithm.
[0312] In one embodiment, the image processing device (1301) may generate a distance transformation image (1640) by calculating the distance from each pixel included in the binary image (1620) to the nearest black pixel (or a pixel representing a boundary) and normalizing the calculated distance for each pixel. Here, the image (1630) may represent the distance from each pixel included in the binary image (1620) to the nearest black pixel (or a pixel representing a boundary). Accordingly, the values of the pixels included in the image (1630) may be distance values before normalization, and the values of the pixels included in the distance transformation image (1640) may be distance values after normalization. Depending on the embodiment, the distance between pixels may be calculated based on the L1 distance or the L2 distance.
[0313] In one embodiment, the image processing device (1301) can generate a distance transformation image (1640) by identifying a maximum distance among distances calculated for each of the pixels included in the binary image (1620) and performing max-min normalization on the distances calculated for each of the pixels based on the maximum distance. According to an embodiment, the distance transformation unit (1361) can generate the distance transformation image (1640) based on Z-score normalization, L1 normalization, or L2 normalization rather than max-min normalization.
[0314] In operation 1740, the image processing device (1301) may filter the binary image (1620) using a threshold value set based on the distance transformation image (1640). Here, the threshold value may be a value obtained by multiplying the normalized maximum distance of the distance transformation image (1640) by a specified ratio. For example, the specified ratio may be a value between 0 and 0.1.
[0315] In one embodiment, the image processing device (1301) can generate a filtered binary image (1650) by filtering the binary image (1620) based on the distance transform image (1640).
[0316] In one embodiment, the image processing device (1301) may filter the binary image (1620) by selecting pixels having a distance value lower than a specified threshold among the pixels included in the distance transformation image (1640), and setting the color values of pixels corresponding to the pixels selected in the distance transformation image (1640) among the pixels included in the binary image (1620) to a specified color value (i.e., a color value corresponding to black).
[0317] In operation 1750, the image processing device (1301) can identify a plurality of objects included in the filtered binary image (1650).
[0318] In operation 1760, the image processing device (1301) may segment a plurality of active materials included in the active material image (1610) based on a plurality of objects to obtain a segmentation image (1660). In one embodiment, the image processing device (1301) may segment the plurality of active materials included in the active material image (1610) based on a watershed algorithm. Accordingly, the plurality of active materials included in the active material image (1610) may respectively correspond to the plurality of active material objects included in the segmentation image (1660).
[0319] In the present disclosure, the image processing device (1301) is exemplified as performing an image processing method based on an image of an active material, but this is merely an example. According to an embodiment, the image processing device (1301) can perform the same image processing on not only an image of an active material but also an image of a precursor, thereby separating and / or analyzing particles. The image acquisition device (1303) can acquire images of the active material and / or the precursor.
[0320] In addition, in the present disclosure, the active material image is exemplified as an SEM image, but this is merely an example. Depending on the embodiment, the active material image may be replaced with an image based on a transmission electron microscope (TEM), an optical microscope (OM), a structured illumination microscopy (SIM), or a fused ion beam (FIB).
[0321] The image processing device (1301) and its operating method as described above obtain active material images (1610) for a plurality of active materials, input the active material images (1610) into an artificial intelligence model (1345) to generate a binary image (1620), convert the binary image (1620) into a distance-converted image (1640) based on a distance-converted algorithm, filter the binary image (1620) using a threshold value set based on the distance-converted image (1640), identify a plurality of objects included in the filtered binary image (1650), and then segment the plurality of active material objects included in the active material image based on the plurality of objects, thereby automatically quantitatively analyzing the shape characteristics of a large number of positive electrode active material particles.
[0322] In addition, the image processing device (1301) and its operating method as described above can minimize the problem of measurement values varying depending on the user by utilizing an artificial intelligence model (1345) that minimizes user input.
[0323] Meanwhile, although the above example illustrates a case where the active material image is a positive electrode active material image, the technical idea disclosed in this document can be substantially equally applied even when the active material image is a negative electrode active material image.
Claims
1. An image acquisition unit for acquiring active material images for multiple active materials; An artificial intelligence model learning unit that learns an artificial intelligence model using learning data including a plurality of reference active material images and a plurality of reference binary images or a plurality of reference boundary images corresponding to the plurality of reference active material images; An image generation unit that inputs the active material image into the artificial intelligence model to generate a binary image or a boundary image; An object identification unit that identifies a plurality of objects based on the binary image or boundary image; and An image processing device including an image segmentation unit that segments the plurality of active materials included in the active material image based on the plurality of objects to obtain a segmentation image.
2. In claim 1, The above artificial intelligence model learning unit An image processing device that trains the artificial intelligence model so that the difference between the plurality of output images obtained by inputting the plurality of reference active material images into the artificial intelligence model and the plurality of reference binary images is less than or equal to a specified reference value.
3. In claim 2, The above plurality of reference active material images include one or more first reference active material images and one or more second reference active material images, The above plurality of reference binary images include one or more first reference binary images and one or more second reference binary images, The first reference active material images are obtained by photographing the active material powder, and the second reference active material images are generated by applying a specified image processing algorithm to the first reference active material images. An image processing device wherein the first reference binary images are binary images of the first reference active material images, and the second reference binary images are binary images of the second reference active material images.
4. In claim 1, The above artificial intelligence model includes multiple layers, An image processing device in which at least one layer included in an encoding area and at least one layer included in a decoding area among the above plurality of layers are connected by a skip connection.
5. In claim 4, An image processing device in which the layers included in the decoding area of the above-described plurality of layers have a structure in which a 2D convolution layer, a batch normalization layer, an activation layer, and an upsampling layer are sequentially connected.
6. In claim 4, An image processing device in which the layers included in the encoding region, among the plurality of layers, have a structure in which a 2D convolution layer, a batch normalization layer, an activation layer, and a maximum pooling layer are sequentially connected.
7. In claim 1, An image processing device wherein the above active material image is an image based on a scanning electron microscope (SEM), a transmission electron microscope (TEM), an optical microscope (OM), a structured illumination microscopy (SIM), or a fused ion beam (FIB).
8. In claim 1, The above image segmentation part An image processing device that segments the plurality of active materials included in the active material image based on a watershed algorithm.
9. In claim 1, Including more information extraction section, The above information extraction unit extracts information on the plurality of active materials based on the segmentation image, An image processing device wherein the information of the plurality of active materials includes information about particle diameter, circumference, sphericity, aspect ratio, convexity, solidity, distribution, ambiguity, or a combination thereof of the active materials.
10. In claim 1, Further comprising a boundary removal unit for removing a boundary from the active material image based on the boundary image to generate a boundary removal image; The object identification unit is an image processing device that identifies a plurality of objects included in the boundary removal image.
11. In claim 1, The above artificial intelligence model learning unit An image processing device that trains the artificial intelligence model so that the difference between the plurality of output images obtained by inputting the plurality of reference active material images into the artificial intelligence model and the plurality of reference boundary images is less than or equal to a specified reference value.
12. In claim 11, The above artificial intelligence model learning unit An image processing device that calculates the difference between the plurality of output images and the plurality of reference boundary images based on a mean absolute error function, a root mean square error, a mean square error function, or a binary cross entropy loss function.
13. In claim 12, The above binary cross entropy loss function is an image processing device in which a specified weight is assigned to a specified color.
14. In claim 1, A distance transformation unit that transforms the binary image into a distance transformation image based on a distance transformation algorithm; and Further comprising a binary image filtering unit that filters the binary image using a threshold value set based on the distance transformation image; The object identification unit is an image processing device that identifies a plurality of objects included in the filtered binary image.
15. In claim 14, The above distance conversion part Compute the distance from each pixel included in the above binary image to the nearest black pixel, An image processing device that generates the distance transformed image by normalizing the calculated distance for each of the pixels.
16. In claim 15, The above distance conversion part Identifying the maximum distance among the calculated distances for each of the pixels included in the binary image, An image processing device that generates the distance transformation image by normalizing the calculated distance for each of the pixels based on the maximum distance.
17. In claim 14, The above binary image filtering unit Select pixels having a value below a specified threshold among the pixels included in the above distance transformation image, An image processing device that filters the binary image by setting the values of pixels corresponding to the selected pixels among the pixels included in the binary image to a specified value.
18. In claim 17, An image processing device in which the above threshold is a value obtained by multiplying a specified ratio by the normalized maximum distance of the distance transformed image.
Citation Information
Patent Citations
Method, apparatus and computer program stored in computer readable medium for state decision of image data
KR101836096B1
Method and system for controlling elevator for which robot boards
KR1020220009078A
Underwater light using CSP type light emitting body
KR1020230115676A
Boat-type robot apparatus to suppress weed growth in wet field
KR1020240038880A
An air purification and sterilization system using electric precipitation and ozone
KR102454605B1
