At this point in the early history of MATLAB, the language really only had one type. Everything in MATLAB was a double-precision matrix. This affected the early functional design in two ways. First, the toolbox established [0,1] as the conventional dynamic range for gray-scale images. This choice was influenced by the mathematical orientation of MATLAB as well as the fact that there was no one-byte-per-element data type. The second impact on functional design can be seen in the syntax IM2BW(R,G,B,LEVEL). RGB (or truecolor) images had to be represented with three different matrices, one for each color component. I really don't miss those days!
ณ จุดนี้ในช่วงประวัติศาสตร์ของ MATLAB, ภาษาจริงๆมีเพียงชนิดเดียว ทุกอย่างใน MATLAB เป็นเมทริกซ์แม่นยำสอง นี้ได้รับผลกระทบการออกแบบการทำงานในช่วงต้นสองวิธี ครั้งแรก, กล่องเครื่องมือที่จัดตั้งขึ้น [0,1] เป็นช่วงไดนามิกธรรมดาสำหรับภาพสีเทาขนาด ทางเลือกนี้ได้รับอิทธิพลจากการวางแนวทางคณิตศาสตร์ของ MATLAB เช่นเดียวกับความจริงที่ว่าไม่มีใครไบต์ต่อองค์ประกอบชนิดข้อมูล ผลกระทบที่สองในการออกแบบการทำงานสามารถเห็นได้ใน IM2BW ไวยากรณ์ (R, G, B, LEVEL) RGB (หรือ TrueColor) ภาพจะต้องมีการแสดงที่มีสามเมทริกซ์ที่แตกต่างกันอย่างใดอย่างหนึ่งสำหรับองค์ประกอบแต่ละสี ผมไม่พลาดวันนั้น!
การแปล กรุณารอสักครู่..
