圖形處理中,8-bit 的 {0...255} 換到 [0,1] 上面的轉換演算法 (以及換回來)
#255 #256 #char #color #division #float #image #int #normalization #photo #process #processing #rgb #unsigned
圖形處理中,8-bit 的 {0...255} 換到 [0,1] 上面的轉換演算法 (以及換回來)
#255 #256 #char #color #division #float #image #int #normalization #photo #process #processing #rgb #unsigned
前幾天看到「Should you normalize RGB values by 255 or 256? (via)」這篇,在影像處理時有些 library 是處理 的實數區間而非 {0,1,...,255} 的離散整數集合,這邊的轉換看到以前沒注意到的東西... 常見的「標準」作法是直接除以 255,還原時乘以 255 再四捨五入,也就是作者列出來的這段 code: pixels = img / 255.0 result = process(pixels) output = np.trunc(result * 255 + 0.
Why Normalization Is the Core Mechanism in the West Philippine Sea
By Cliff Potts, CSO, and Editor-in-Chief of WPS News
Baybay City, Leyte, Philippines — May 26, 2026
The Problem: What Repeats Becomes Accepted
Sustained activity changes perception over time.
When the same vessels appear in the same areas repeatedly, their presence begins to feel routine. What initially draws attention gradually becomes background. This shift does not require agreement. It only requires repetition.
Normalization is not declared. It is absorbed.
How Normalization Develops
Normalization follows a consistent pattern:
Each stage reinforces the next.
Over time, actions that once required explanation no longer generate response.
Current Operating Conditions
In the West Philippine Sea, ongoing patterns include:
These activities are no longer isolated events. They are recurring conditions.
The Link to Incremental Pressure
Normalization supports incremental change.
When activity becomes routine, small adjustments within that activity draw less attention. A vessel operating slightly closer than before may not trigger the same response if its presence is already accepted.
This enables gradual shifts without clear breakpoints.
Incremental pressure depends on normalization.
Why Visibility Alone Is Not Enough
Visibility does not automatically prevent normalization.
Even when actions are recorded and reported, repetition can still reduce perceived significance. Public awareness may spike during major incidents, then decline as similar events continue.
Documentation is necessary. It is not sufficient by itself.
Interrupting the Normalization Process
Normalization can be disrupted, but not by a single action.
Effective interruption requires:
The objective is to prevent repetition from becoming invisible.
Interaction With Operational Measures
Normalization affects all other responses.
If normalization is not addressed, other measures lose effectiveness.
Limits and Constraints
Normalization cannot be fully eliminated.
Long-term activity will always create some level of acceptance. Resources, attention, and political focus are limited. Not every repeated action can generate sustained response.
The goal is not to prevent normalization entirely. The goal is to prevent it from enabling unchecked change.
Bottom Line
In the West Philippine Sea, normalization is a central mechanism of sustained pressure.
Repeated presence reduces reaction over time, allowing incremental changes to occur with less resistance. By maintaining visibility, reinforcing legal framing, and emphasizing continuity in reporting, normalization can be managed, even if it cannot be fully stopped.
For more social commentary, please see Occupy 2.5 at https://Occupy25.com
Bateman, S. (2017). Maritime security and law enforcement in the South China Sea. Contemporary Southeast Asia, 39(2), 221–245.
Erickson, A. S., & Kennedy, C. (2016). China’s maritime militia. Center for Naval Analyses.
Permanent Court of Arbitration. (2016). The South China Sea Arbitration (Philippines v. China).
United Nations. (1982). United Nations Convention on the Law of the Sea.
#grayZoneOperations #MaritimeSecurity #maritimeStrategy #normalization #PhilippineCoastGuard #SouthChinaSea #UNCLOS #WestPhilippineSeaRE: https://pbs.idv.tw/@focus_taiwan_en/116629530591092614
"#Normalization of [so-called] cross-strait #peace"? Normalization of #surrender is more like it. 🤔
🗨️ I don't think the #normalization plan will succeed, for #somalia does not side with Israel, and the people of Somalia will not let this opportunity pass to bring #somaliland over to their side; in that case, the ruling henchmen of death might as well go pick up their arrest warrants from The Hague - be patient, and have trust in the people -
📢 Islamic Resistance Movement slams Somaliland’s plan to normalize ties with Israel
YPA

GAZA, May 21 (YPA) – The Islamic Resistance Movement (Hamas) has strongly denounced the government of the separatist “Somaliland” region for its insistence on normalizing relations with the Israeli occupation regime and planning to open an embassy in
Protesters accuse Eurovision of ‘normalization of war crimes’
Pro-Palestinian protesters have accused the Eurovision Song Contest of the “normalization of war crimes” at an event in…
#Eurovision #EurovisionSongContest2026 #Israel #Israelicrimes #normalization #PressAssociation #vienna #ViktoriaEibensteiner #warcrimes
https://www.europesays.com/europe/43418/
“The Corruption Is the Strategy: Donald is not hiding his market manipulation. He is normalizing it”
by Mary L Trump in The Good In Us on Substack
@BBC5Live
@BBCRadio4
@BBCNews
@guardian
@Independent
@thetimes
@newyorktimes
@miamiherald
“Donald has convinced far too many people that authoritarianism is a good thing for the United States. He is now conditioning tens of millions more to accept the idea that presidential corruption is not only acceptable, but desirable and that the President of the United States is entitled to abuse the power of his office to enrich himself. And, of course, the corollary follows: that the rest of us should be willing to sacrifice more.”
https://open.substack.com/pub/marytrump/p/the-corruption-is-the-strategy
#Press #SocialMedia #US #Trump #Corruption #MsrketManipulation #Authoritarianism #Cryptocurrency #Lies #Normalization
Columnar Storage Is Normalization
https://buttondown.com/jaffray/archive/columnar-storage-is-normalization/
#HackerNews #ColumnarStorage #Normalization #DataManagement #TechTrends #HackerNews