Format16bppRgb555 pixel values sort
-
Hello everyone. I have a project. I want to modify software material images. To sort the pixel values of Format16bppRgb555 image files. It must comply with the software rules for the job. Otherwise, errors will occur. The standard sorting format is shown in the figure. Attached is the Excel file. The Rgb555 value from top to bottom in the "B" column is its sorting rule. The rest of the data is based on my rules for finding him. I can't find the rules after trying some methods. What should I do? image URL: https://drive.google.com/file/d/1JBCBFTwElnbmJcsdWD6qPFmwSSgYPrWA/view?usp=sharing Excel URL: https://docs.google.com/spreadsheets/d/16wp0aLDsF8_Chn1Qh2in-4RAmePoRgWi/edit?usp=sharing&ouid=114357640123304602889&rtpof=true&sd=true
-
Hello everyone. I have a project. I want to modify software material images. To sort the pixel values of Format16bppRgb555 image files. It must comply with the software rules for the job. Otherwise, errors will occur. The standard sorting format is shown in the figure. Attached is the Excel file. The Rgb555 value from top to bottom in the "B" column is its sorting rule. The rest of the data is based on my rules for finding him. I can't find the rules after trying some methods. What should I do? image URL: https://drive.google.com/file/d/1JBCBFTwElnbmJcsdWD6qPFmwSSgYPrWA/view?usp=sharing Excel URL: https://docs.google.com/spreadsheets/d/16wp0aLDsF8_Chn1Qh2in-4RAmePoRgWi/edit?usp=sharing&ouid=114357640123304602889&rtpof=true&sd=true
So you have given us a useless image and an excel file that nobody in their right mind is going to open, given what excel spreadsheets can contain in terms of malware ... And that's it: "this has to obey rules I'm not going to tell you":
Quote:
It must comply with the software rules for the job. Otherwise, errors will occur.
And it looks like you haven't been told either:
Quote:
I can't find the rules after trying some methods.
Not only that be you haven't told us what you have tried! There is nowhere near enough information here for us to begin to help you - we have no idea what you are trying to do, or where you are starting from. We don't even have any idea where you are stuck, or what help you might need - and that's kinda important, don't you think? Start here: Asking questions is a skill[^] and think about what you need to know, and what you need to tell us in order to get help.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
So you have given us a useless image and an excel file that nobody in their right mind is going to open, given what excel spreadsheets can contain in terms of malware ... And that's it: "this has to obey rules I'm not going to tell you":
Quote:
It must comply with the software rules for the job. Otherwise, errors will occur.
And it looks like you haven't been told either:
Quote:
I can't find the rules after trying some methods.
Not only that be you haven't told us what you have tried! There is nowhere near enough information here for us to begin to help you - we have no idea what you are trying to do, or where you are starting from. We don't even have any idea where you are stuck, or what help you might need - and that's kinda important, don't you think? Start here: Asking questions is a skill[^] and think about what you need to know, and what you need to tell us in order to get help.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
thank you for your reply That picture is not useless. From left to right is its sorting rule. I have tried RGB, HSB, HSV, HSL single condition, double condition, and even three conditions, and tried to sort them with no results. Later, we will find more HWB, HSI, , JzAzBz, JzCzHz, Oklab, Oklch, Okhsv, Okhsl, Okhwb, CAM02, CAM16..etc. I feel like there are special skills or techniques to achieve it. That’s why I asked. As for Excel, if you have any doubts, you can leave it alone. It only records the Format16bppRgb555 pixel data sorted in the picture. As well as the RGB, HSB, HSV, HSL, HWB, HSI, XYZ, xyY, WXY, LAB, LUV, LCH, LCHab, LCHuv, HSLuv, HPLuv, YPbPr, I recorded. YCbCr, YCgCo, YUV, YIQ, YDbDr, TSL, XYB, IPT, ICtCp, JzAzBz, JzCzHz, Oklab, Oklch, Okhsv, Okhsl, Okhwb, CAM02, CAM16.. and other data!
-
thank you for your reply That picture is not useless. From left to right is its sorting rule. I have tried RGB, HSB, HSV, HSL single condition, double condition, and even three conditions, and tried to sort them with no results. Later, we will find more HWB, HSI, , JzAzBz, JzCzHz, Oklab, Oklch, Okhsv, Okhsl, Okhwb, CAM02, CAM16..etc. I feel like there are special skills or techniques to achieve it. That’s why I asked. As for Excel, if you have any doubts, you can leave it alone. It only records the Format16bppRgb555 pixel data sorted in the picture. As well as the RGB, HSB, HSV, HSL, HWB, HSI, XYZ, xyY, WXY, LAB, LUV, LCH, LCHab, LCHuv, HSLuv, HPLuv, YPbPr, I recorded. YCbCr, YCgCo, YUV, YIQ, YDbDr, TSL, XYB, IPT, ICtCp, JzAzBz, JzCzHz, Oklab, Oklch, Okhsv, Okhsl, Okhwb, CAM02, CAM16.. and other data!
Member 15840006 wrote:
That picture is not useless. From left to right is its sorting rule.
What does that mean? All I can see is a lot of coloured bars, which is not anywhere near an explanation of what you mean by "sorting rule". So please do what @OriginalGriff already suggested and explain exactly what you are trying to do, and what the actual rules are. And make sure you do this using proper programming terms (even showing sample code) and not in some vague images.
-
Member 15840006 wrote:
That picture is not useless. From left to right is its sorting rule.
What does that mean? All I can see is a lot of coloured bars, which is not anywhere near an explanation of what you mean by "sorting rule". So please do what @OriginalGriff already suggested and explain exactly what you are trying to do, and what the actual rules are. And make sure you do this using proper programming terms (even showing sample code) and not in some vague images.
I understand! Thanks again for your replies
-
Member 15840006 wrote:
That picture is not useless. From left to right is its sorting rule.
What does that mean? All I can see is a lot of coloured bars, which is not anywhere near an explanation of what you mean by "sorting rule". So please do what @OriginalGriff already suggested and explain exactly what you are trying to do, and what the actual rules are. And make sure you do this using proper programming terms (even showing sample code) and not in some vague images.
My approach is to first use these pixel data to randomly scramble them. Because I don't know the rules, I try to use RGB, HSB, HSV, HSL, HWB...etc. data. Use their elements to match each other for sorting. See if you can achieve the same sorting order as shown in the picture. I just don’t know the rules. So I tried many ways and asked to see if there are any new ideas and directions! As for the sample code, it is only used in conjunction with the sorting functions of list.OrderBy or ThenBy, etc., so I have not posted it!
-
So you have given us a useless image and an excel file that nobody in their right mind is going to open, given what excel spreadsheets can contain in terms of malware ... And that's it: "this has to obey rules I'm not going to tell you":
Quote:
It must comply with the software rules for the job. Otherwise, errors will occur.
And it looks like you haven't been told either:
Quote:
I can't find the rules after trying some methods.
Not only that be you haven't told us what you have tried! There is nowhere near enough information here for us to begin to help you - we have no idea what you are trying to do, or where you are starting from. We don't even have any idea where you are stuck, or what help you might need - and that's kinda important, don't you think? Start here: Asking questions is a skill[^] and think about what you need to know, and what you need to tell us in order to get help.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
Excel picture URL 1:https://drive.google.com/file/d/1HgMe4NOpec9-YxDaZIdTUmenOADiwOfQ/view?usp=sharing Excel picture URL 2:https://drive.google.com/file/d/1fsFVgCs7CSA0K6kVZ6xKO3MshEoOM4fT/view?usp=sharing Excel picture URL 3:https://drive.google.com/file/d/1ItyROGVsYZOmXATNRTNvTSFALyoOU3pF/view?usp=sharing Excel picture URL 4:https://drive.google.com/file/d/1YXcITmxO1u2_zjgIkIFuPP_k8LpooYR6/view?usp=sharing Excel picture URL 5:https://drive.google.com/file/d/1FIm5X91jlTb4m8hqwuDysK137wbIkZBP/view?usp=sharing Excel picture URL 6:https://drive.google.com/file/d/1BXsL5USb0_EufgcuX-CLxZkr2OxjrufU/view?usp=sharing Excel picture URL 7:https://drive.google.com/file/d/1j7wPUhRLc3v7vM7C7q6KGgEamY9jJBGD/view?usp=sharing Excel picture URL 8:https://drive.google.com/file/d/1FX06xB5AyFW5BMb6VkQmMAnPGmayfDgK/view?usp=sharing Excel picture URL 9:https://drive.google.com/file/d/1JVXFIXVF0uxoRo0zTk9-1f07hMTtoN3h/view?usp=sharing
-
thank you for your reply That picture is not useless. From left to right is its sorting rule. I have tried RGB, HSB, HSV, HSL single condition, double condition, and even three conditions, and tried to sort them with no results. Later, we will find more HWB, HSI, , JzAzBz, JzCzHz, Oklab, Oklch, Okhsv, Okhsl, Okhwb, CAM02, CAM16..etc. I feel like there are special skills or techniques to achieve it. That’s why I asked. As for Excel, if you have any doubts, you can leave it alone. It only records the Format16bppRgb555 pixel data sorted in the picture. As well as the RGB, HSB, HSV, HSL, HWB, HSI, XYZ, xyY, WXY, LAB, LUV, LCH, LCHab, LCHuv, HSLuv, HPLuv, YPbPr, I recorded. YCbCr, YCgCo, YUV, YIQ, YDbDr, TSL, XYB, IPT, ICtCp, JzAzBz, JzCzHz, Oklab, Oklch, Okhsv, Okhsl, Okhwb, CAM02, CAM16.. and other data!
It's useless to us, because we have no idea of the broader context of your project. "Sorting an image" doesn't mean anything to us: you can "sort images" by saying "this image contains one bus, this one has two busses, and this one has three busses" - but sorting an individual image makes no sense without external context, because an image is a collection of colour values which are only relevant as an image when combined with their location data within a specific picture: if you sort by pixel colour you discard the location data and what you get isn't an image in conventional terms. So throwing an image at us and saying "this is it's sorting rule" doesn't help anyone because we have no idea what you are trying to do! Context is relevant: just as a pixel needs colour it also needs context - the location of each pixel of that colour! So stop, think, and try to explain what exactly you are trying to do, because without that context we can't help you!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
It's useless to us, because we have no idea of the broader context of your project. "Sorting an image" doesn't mean anything to us: you can "sort images" by saying "this image contains one bus, this one has two busses, and this one has three busses" - but sorting an individual image makes no sense without external context, because an image is a collection of colour values which are only relevant as an image when combined with their location data within a specific picture: if you sort by pixel colour you discard the location data and what you get isn't an image in conventional terms. So throwing an image at us and saying "this is it's sorting rule" doesn't help anyone because we have no idea what you are trying to do! Context is relevant: just as a pixel needs colour it also needs context - the location of each pixel of that colour! So stop, think, and try to explain what exactly you are trying to do, because without that context we can't help you!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
I understand. Maybe it’s because I didn’t explain it clearly. Maybe it’s because my English is not that good! My project is a software material "file" (such as xxx.bin). It is not an image file (such as bmp png...etc.) but a processed file (such as 0x4000~0x5000 blocks to store each pixel) Corresponding position, 0x7000~0x8000 block stores the pixel values used, sorted and stored) After the software reads the file and then performs the internal calculation of the calculation software, the result will be displayed on the software as a material graphic. The other parts have been parsed, and the "arrangement order" of the remaining pixel value data cannot be solved, so I don't care about the corresponding position of its pixel (the corresponding position has been parsed in the block where it is stored). So my need is the pixel The arrangement has nothing to do with the structure of the graph. I have a rough understanding of the image format you mentioned. So I'm just talking about the arrangement of pixels. It may be that my English is not good. Some of the translations used caused trouble in asking questions. I’m sorry! The illustration is for viewing and understanding. It is drawn using VS according to its stored block pixel data. Otherwise it is just a group of arranged pixel values.